Small fixes and simplifications.

This commit is contained in:
Matthias Vallentin 2013-06-06 12:56:46 -07:00
parent d5126a1339
commit 012e09c5c4
3 changed files with 9 additions and 11 deletions

View file

@ -140,7 +140,7 @@ bool BloomFilter::DoUnserialize(UnserialInfo* info)
return false;
hash_ = new hash_policy(static_cast<size_t>(k));
uint64 elements;
if ( UNSERIALIZE(&elements) )
if ( ! UNSERIALIZE(&elements) )
return false;
elements_ = static_cast<size_t>(elements);
return true;