Move a few low-use classes to namespaces

This commit is contained in:
Tim Wojtulewicz 2020-07-21 16:19:14 -07:00
parent 886fc102b8
commit c9ab1f93e7
53 changed files with 252 additions and 122 deletions

View file

@ -2,6 +2,8 @@
#include "Reporter.h"
#include "Val.h"
namespace zeek::detail {
prefix_t* PrefixTable::MakePrefix(const zeek::IPAddr& addr, int width)
{
prefix_t* prefix = (prefix_t*) safe_malloc(sizeof(prefix_t));
@ -202,3 +204,5 @@ void* PrefixTable::GetNext(iterator* i)
// Not reached.
}
} // namespace zeek::detail