Core/Bitset: Fixed Test methods being not const
Former-commit-id: 440c03a78b4dcf8ec1566c1db30989c0145b5a78
This commit is contained in:
@@ -309,7 +309,7 @@ bool NzBitset<Block, Allocator>::Test(unsigned int bit) const
|
||||
}
|
||||
|
||||
template<typename Block, class Allocator>
|
||||
bool NzBitset<Block, Allocator>::TestAll()
|
||||
bool NzBitset<Block, Allocator>::TestAll() const
|
||||
{
|
||||
// Cas particulier du dernier bloc
|
||||
Block lastBlockMask = GetLastBlockMask();
|
||||
@@ -325,7 +325,7 @@ bool NzBitset<Block, Allocator>::TestAll()
|
||||
}
|
||||
|
||||
template<typename Block, class Allocator>
|
||||
bool NzBitset<Block, Allocator>::TestAny()
|
||||
bool NzBitset<Block, Allocator>::TestAny() const
|
||||
{
|
||||
if (m_blocks.empty())
|
||||
return false;
|
||||
@@ -340,7 +340,7 @@ bool NzBitset<Block, Allocator>::TestAny()
|
||||
}
|
||||
|
||||
template<typename Block, class Allocator>
|
||||
bool NzBitset<Block, Allocator>::TestNone()
|
||||
bool NzBitset<Block, Allocator>::TestNone() const
|
||||
{
|
||||
return !TestAny();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user