Browse Source

tabify

pull/733/head
Jeff Becker 8 years ago
parent
commit
12371650f9
  1. 2
      BloomFilter.cpp

2
BloomFilter.cpp

@ -30,7 +30,7 @@ namespace util
{ {
std::size_t idx; std::size_t idx;
uint8_t mask; uint8_t mask;
Get(data, len, idx, mask); Get(data, len, idx, mask);
if(m_Data[idx] & mask) return false; // filter hit if(m_Data[idx] & mask) return false; // filter hit
m_Data[idx] |= mask; m_Data[idx] |= mask;
return true; return true;

Loading…
Cancel
Save