mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Integrate review feedback
This commit is contained in:
parent
647fdf7737
commit
a69928d977
6 changed files with 52 additions and 37 deletions
|
@ -61,10 +61,10 @@ std::unique_ptr<Hasher> Hasher::Unserialize(BrokerDataView data) {
|
|||
|
||||
auto v = data.ToList();
|
||||
|
||||
if ( v.Size() != 4 || ! IsCount(v[0], v[1], v[2], v[3]) )
|
||||
if ( v.Size() != 4 || ! are_all_counts(v[0], v[1], v[2], v[3]) )
|
||||
return nullptr;
|
||||
|
||||
auto [type, k, h1, h2] = ToCount(v[0], v[1], v[2], v[3]);
|
||||
auto [type, k, h1, h2] = to_count(v[0], v[1], v[2], v[3]);
|
||||
|
||||
std::unique_ptr<Hasher> hasher;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue