Core/Bitset: Minor changes
Former-commit-id: 0d4e2007c83f34ca966615b55927cf34e88670af
This commit is contained in:
parent
294894e8c1
commit
2c752a38c3
|
|
@ -358,7 +358,7 @@ T NzBitset<Block, Allocator>::To() const
|
||||||
{
|
{
|
||||||
static_assert(std::is_integral<T>() && std::is_unsigned<T>(), "T must be a unsigned integral type");
|
static_assert(std::is_integral<T>() && std::is_unsigned<T>(), "T must be a unsigned integral type");
|
||||||
|
|
||||||
NazaraAssert(m_bitCount <= std::numeric_limits<T>::digits, "Bit count cannot be greater than UInt32 bit count");
|
NazaraAssert(m_bitCount <= std::numeric_limits<T>::digits, "Bit count cannot be greater than T bit count");
|
||||||
|
|
||||||
T value = 0;
|
T value = 0;
|
||||||
for (unsigned int i = 0; i < m_blocks.size(); ++i)
|
for (unsigned int i = 0; i < m_blocks.size(); ++i)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue