Core/Bitset: Made destructor and Clear() noexcept

Former-commit-id: 0d09070fcb5d17812eb938c9873213107bd97f7c
This commit is contained in:
Lynix 2016-03-01 13:59:31 +01:00
parent f9a95ce054
commit 188c1e4c1e
2 changed files with 3 additions and 3 deletions

View File

@ -32,9 +32,9 @@ namespace Nz
Bitset(const Bitset& bitset) = default;
explicit Bitset(const String& bits);
Bitset(Bitset&& bitset) noexcept = default;
~Bitset() = default;
~Bitset() noexcept = default;
void Clear();
void Clear() noexcept;
unsigned int Count() const;
void Flip();

View File

@ -114,7 +114,7 @@ namespace Nz
*/
template<typename Block, class Allocator>
void Bitset<Block, Allocator>::Clear()
void Bitset<Block, Allocator>::Clear() noexcept
{
m_bitCount = 0;
m_blocks.clear();