Move base Tag class to zeek namespace

This commit is contained in:
Tim Wojtulewicz 2020-07-01 14:19:13 -07:00
parent 8517d70e52
commit 87054d9d6b
10 changed files with 53 additions and 45 deletions

View file

@ -3,6 +3,8 @@
#include "Tag.h"
#include "Val.h"
namespace zeek {
Tag::Tag(const zeek::EnumTypePtr& etype, type_t arg_type, subtype_t arg_subtype)
{
assert(arg_type > 0);
@ -92,3 +94,5 @@ std::string Tag::AsString() const
{
return fmt("%" PRIu32 "/%" PRIu32, type, subtype);
}
} // namespace zeek