mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
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:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue