diff options
author | David Robillard <d@drobilla.net> | 2022-09-16 19:19:59 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-09-16 22:31:06 -0400 |
commit | 362681777beb03957d327b229229babead64853b (patch) | |
tree | 1db86d767ab35c37aaa14e77d47667d7e3f32de7 | |
parent | 98083798c718921d0838f419fa7604310a55c051 (diff) | |
download | chilbert-362681777beb03957d327b229229babead64853b.tar.gz chilbert-362681777beb03957d327b229229babead64853b.tar.bz2 chilbert-362681777beb03957d327b229229babead64853b.zip |
Clean up special member functions
-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; } |