diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | include/chilbert/DynamicBitVec.hpp | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy index 0c487a6..d97cfa6 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -8,7 +8,6 @@ Checks: > -*-named-parameter, -*-no-malloc, -*-non-private-member-variables-in-classes, - -*-special-member-functions, -*-use-auto, -altera-*, -bugprone-easily-swappable-parameters, diff --git a/include/chilbert/DynamicBitVec.hpp b/include/chilbert/DynamicBitVec.hpp index e834ee0..2bed27f 100644 --- a/include/chilbert/DynamicBitVec.hpp +++ b/include/chilbert/DynamicBitVec.hpp @@ -75,7 +75,7 @@ public: } } - DynamicBitVec(DynamicBitVec&& vec) = default; + DynamicBitVec(DynamicBitVec&&) = default; DynamicBitVec& operator=(const DynamicBitVec& vec) { @@ -94,7 +94,9 @@ public: return *this; } - DynamicBitVec& operator=(DynamicBitVec&& vec) = default; + DynamicBitVec& operator=(DynamicBitVec&&) = default; + + ~DynamicBitVec() = default; /// Return the size in bits size_t size() const { return m_size; } |