We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2caa47b commit 858ed42Copy full SHA for 858ed42
src/common/bit_vector.hpp
@@ -29,8 +29,8 @@ class BitVector
29
static const uint8_t MASK = static_cast<uint8_t>((1 << _bit_count) - 1);
30
31
// must be power of 2
32
- BOOST_STATIC_ASSERT((_bit_count != 0) && !(_bit_count & (_bit_count - 1)));
33
- BOOST_STATIC_ASSERT(_bit_count <= BITS_PER_BYTE);
+ static_assert((_bit_count != 0) && !(_bit_count & (_bit_count - 1)));
+ static_assert(_bit_count <= BITS_PER_BYTE);
34
35
template <typename DataIterator>
36
class ReferenceImpl {
0 commit comments