mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Internal UID simplifications/nits.
This commit is contained in:
parent
ca9b9162a7
commit
0678468353
2 changed files with 5 additions and 18 deletions
|
@ -26,11 +26,3 @@ void UID::Set(bro_uint_t bits, const uint64* v, size_t n)
|
|||
if ( res.rem )
|
||||
uid[0] >>= 64 - res.rem;
|
||||
}
|
||||
|
||||
bool Bro::operator==(const UID& u1, const UID& u2)
|
||||
{
|
||||
for ( size_t i = 0; i < BRO_UID_LEN; ++i )
|
||||
if ( u1.uid[i] != u2.uid[i] )
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue