mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Bloomfilter related clang-format fixes
This commit is contained in:
parent
42bc6db359
commit
9b73eb7561
3 changed files with 2 additions and 3 deletions
|
@ -755,7 +755,6 @@ BloomFilterValPtr BloomFilterVal::Intersect(const BloomFilterVal* x, const Bloom
|
|||
return intersected;
|
||||
}
|
||||
|
||||
|
||||
BloomFilterVal::~BloomFilterVal()
|
||||
{
|
||||
delete hash;
|
||||
|
|
|
@ -143,6 +143,7 @@ class CountingBloomFilter;
|
|||
class BasicBloomFilter : public BloomFilter
|
||||
{
|
||||
friend class CountingBloomFilter;
|
||||
|
||||
public:
|
||||
/**
|
||||
* Constructs a basic Bloom filter with a given number of cells. The
|
||||
|
@ -260,7 +261,6 @@ public:
|
|||
*/
|
||||
BasicBloomFilter* Intersect(const BloomFilter* other) const override;
|
||||
|
||||
|
||||
protected:
|
||||
friend class BloomFilter;
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ BitVector CounterVector::ToBitVector() const
|
|||
bool set = false;
|
||||
|
||||
for ( size_t i = 0; i < width; ++i )
|
||||
set |= (*bits)[lsb+1];
|
||||
set |= (*bits)[lsb + 1];
|
||||
|
||||
newbits[cell] = set;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue