diff --git a/libwhisper/BloomFilter.h b/libwhisper/BloomFilter.h index 393ccbfd1..3d2ed3e12 100644 --- a/libwhisper/BloomFilter.h +++ b/libwhisper/BloomFilter.h @@ -62,7 +62,7 @@ void TopicBloomFilterBase::addRaw(FixedHash const& _h) for (unsigned i = 0; i < CounterSize; ++i) if (isBitSet(_h, i)) { - if (m_refCounter[i] != numeric_limits::max()) + if (m_refCounter[i] != std::numeric_limits::max()) m_refCounter[i]++; else BOOST_THROW_EXCEPTION(Overflow());