Base: Clean up explicit uses of namespaces in places where they're not necessary.

This commit covers all of the common and base classes.
This commit is contained in:
Tim Wojtulewicz 2020-08-21 09:29:37 -07:00
parent 9f802b2a4d
commit fe0c22c789
240 changed files with 6823 additions and 6787 deletions

View file

@ -75,7 +75,7 @@ public:
struct ReaderInfo
{
// Structure takes ownership of the strings.
typedef std::map<const char*, const char*, zeek::util::CompareString> config_map;
typedef std::map<const char*, const char*, util::CompareString> config_map;
/**
* A string left to the interpretation of the reader
@ -111,12 +111,12 @@ public:
ReaderInfo(const ReaderInfo& other)
{
source = other.source ? zeek::util::copy_string(other.source) : nullptr;
name = other.name ? zeek::util::copy_string(other.name) : nullptr;
source = other.source ? util::copy_string(other.source) : nullptr;
name = other.name ? util::copy_string(other.name) : nullptr;
mode = other.mode;
for ( config_map::const_iterator i = other.config.begin(); i != other.config.end(); i++ )
config.insert(std::make_pair(zeek::util::copy_string(i->first), zeek::util::copy_string(i->second)));
config.insert(std::make_pair(util::copy_string(i->first), util::copy_string(i->second)));
}
~ReaderInfo()