Browse Source

explicit scope resolution added

cl-refactor
Vlad Gluhovsky 10 years ago
parent
commit
7852ce4b3c
  1. 2
      libwhisper/BloomFilter.h

2
libwhisper/BloomFilter.h

@ -62,7 +62,7 @@ void TopicBloomFilterBase<N>::addRaw(FixedHash<N> const& _h)
for (unsigned i = 0; i < CounterSize; ++i)
if (isBitSet(_h, i))
{
if (m_refCounter[i] != numeric_limits<uint16_t>::max())
if (m_refCounter[i] != std::numeric_limits<uint16_t>::max())
m_refCounter[i]++;
else
BOOST_THROW_EXCEPTION(Overflow());

Loading…
Cancel
Save