mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue