Move probabilistic code into zeek namespaces

This commit is contained in:
Tim Wojtulewicz 2020-08-01 10:48:36 -07:00
parent be92bd536f
commit f310795d79
17 changed files with 162 additions and 118 deletions

View file

@ -13,7 +13,7 @@
#include <broker/data.hh>
using namespace probabilistic;
namespace zeek::probabilistic::detail {
Hasher::seed_t Hasher::MakeSeed(const void* data, size_t size)
{
@ -178,3 +178,5 @@ bool DoubleHasher::Equals(const Hasher* other) const
const DoubleHasher* o = static_cast<const DoubleHasher*>(other);
return h1 == o->h1 && h2 == o->h2;
}
} // namespace zeek::probabilistic::detail