mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08: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
|
@ -11,7 +11,7 @@
|
|||
|
||||
namespace broker { class data; }
|
||||
|
||||
namespace probabilistic {
|
||||
namespace zeek::probabilistic::detail {
|
||||
|
||||
/**
|
||||
* A probabilistic cardinality counter using the HyperLogLog algorithm.
|
||||
|
@ -186,4 +186,8 @@ private:
|
|||
int p; // the log2 of m
|
||||
};
|
||||
|
||||
} // namespace zeek::probabilistic::detail
|
||||
|
||||
namespace probabilistic {
|
||||
using CardinalityCounter [[deprecated("Remove in v4.1. Use zeek::probabilistic::detail::CardinalityCounter.")]] = zeek::probabilistic::detail::CardinalityCounter;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue