mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Move probabilistic code into zeek namespaces
This commit is contained in:
parent
be92bd536f
commit
f310795d79
17 changed files with 162 additions and 118 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue