Core/Bitset: Minor changes

Former-commit-id: 0d4e2007c83f34ca966615b55927cf34e88670af
This commit is contained in:
Lynix 2015-09-18 20:00:53 +02:00
parent 294894e8c1
commit 2c752a38c3
1 changed files with 3 additions and 3 deletions

View File

@ -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)