mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Move BroString to zeek namespace
This commit is contained in:
parent
464efbe66a
commit
58c6e10b62
54 changed files with 317 additions and 303 deletions
|
@ -18,8 +18,10 @@
|
|||
#define DEBUG_STR(msg)
|
||||
#endif
|
||||
|
||||
const int BroString::EXPANDED_STRING;
|
||||
const int BroString::BRO_STRING_LITERAL;
|
||||
namespace zeek {
|
||||
|
||||
constexpr int BroString::EXPANDED_STRING;
|
||||
constexpr int BroString::BRO_STRING_LITERAL;
|
||||
|
||||
// This constructor forces the user to specify arg_final_NUL. When str
|
||||
// is a *normal* NUL-terminated string, make arg_n == strlen(str) and
|
||||
|
@ -484,3 +486,5 @@ void delete_strings(std::vector<const BroString*>& v)
|
|||
delete v[i];
|
||||
v.clear();
|
||||
}
|
||||
|
||||
} // namespace zeek
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue