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

@ -5,13 +5,13 @@
#include "../Desc.h"
#include "../Reporter.h"
using namespace zeek::plugin;
namespace zeek::plugin {
Component::Component(component::Type arg_type, const std::string& arg_name)
{
type = arg_type;
name = arg_name;
canon_name = zeek::util::canonify_name(name);
canon_name = util::canonify_name(name);
}
Component::~Component()
@ -28,7 +28,7 @@ component::Type Component::Type() const
return type;
}
void Component::Describe(zeek::ODesc* d) const
void Component::Describe(ODesc* d) const
{
d->Add(" ");
d->Add("[");
@ -75,3 +75,5 @@ void Component::Describe(zeek::ODesc* d) const
DoDescribe(d);
d->Add(")");
}
} // namespace zeek::plugin