mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Move a few low-use classes to namespaces
This commit is contained in:
parent
886fc102b8
commit
c9ab1f93e7
53 changed files with 252 additions and 122 deletions
13
src/UID.h
13
src/UID.h
|
@ -2,15 +2,14 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "util.h" // for bro_int_t
|
||||
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
|
||||
#include <string.h>
|
||||
#include "util.h" // for bro_int_t
|
||||
|
||||
#define BRO_UID_LEN 2
|
||||
|
||||
namespace Bro {
|
||||
namespace zeek {
|
||||
|
||||
/**
|
||||
* A class for creating/managing UIDs of arbitrary bit-length and converting
|
||||
|
@ -98,4 +97,8 @@ inline UID& UID::operator=(const UID& other)
|
|||
return *this;
|
||||
}
|
||||
|
||||
} // namespace Bro
|
||||
} // namespace zeek
|
||||
|
||||
namespace Bro {
|
||||
using UID [[deprecated("Remove in v4.1. Use zeek::UID.")]] = zeek::UID;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue