Core/Bitset: Made destructor and Clear() noexcept
Former-commit-id: 0d09070fcb5d17812eb938c9873213107bd97f7c
This commit is contained in:
parent
f9a95ce054
commit
188c1e4c1e
|
|
@ -32,9 +32,9 @@ namespace Nz
|
||||||
Bitset(const Bitset& bitset) = default;
|
Bitset(const Bitset& bitset) = default;
|
||||||
explicit Bitset(const String& bits);
|
explicit Bitset(const String& bits);
|
||||||
Bitset(Bitset&& bitset) noexcept = default;
|
Bitset(Bitset&& bitset) noexcept = default;
|
||||||
~Bitset() = default;
|
~Bitset() noexcept = default;
|
||||||
|
|
||||||
void Clear();
|
void Clear() noexcept;
|
||||||
unsigned int Count() const;
|
unsigned int Count() const;
|
||||||
void Flip();
|
void Flip();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ namespace Nz
|
||||||
*/
|
*/
|
||||||
|
|
||||||
template<typename Block, class Allocator>
|
template<typename Block, class Allocator>
|
||||||
void Bitset<Block, Allocator>::Clear()
|
void Bitset<Block, Allocator>::Clear() noexcept
|
||||||
{
|
{
|
||||||
m_bitCount = 0;
|
m_bitCount = 0;
|
||||||
m_blocks.clear();
|
m_blocks.clear();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue