mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Move base Tag class to zeek namespace
This commit is contained in:
parent
8517d70e52
commit
87054d9d6b
10 changed files with 53 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue