diff options
author | David Robillard <d@drobilla.net> | 2022-07-20 11:05:07 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-20 16:24:23 -0400 |
commit | e883d87e43b06b54a810413d0a728ace1e9c26a0 (patch) | |
tree | 1e11f8a40ff91f4c78b870c08337979fbc052691 /include/raul/Maid.hpp | |
parent | d7653e3feed6da300d4cff31860d6c26b24ec329 (diff) | |
download | raul-e883d87e43b06b54a810413d0a728ace1e9c26a0.tar.gz raul-e883d87e43b06b54a810413d0a728ace1e9c26a0.tar.bz2 raul-e883d87e43b06b54a810413d0a728ace1e9c26a0.zip |
Clean up special member functions and format with clang-format 14
Diffstat (limited to 'include/raul/Maid.hpp')
-rw-r--r-- | include/raul/Maid.hpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/raul/Maid.hpp b/include/raul/Maid.hpp index 51e2dca..31a7331 100644 --- a/include/raul/Maid.hpp +++ b/include/raul/Maid.hpp @@ -33,11 +33,10 @@ public: public: Disposable() = default; - Disposable(const Disposable&) = delete; + Disposable(const Disposable&) = delete; Disposable& operator=(const Disposable&) = delete; - - Disposable(Disposable&&) = delete; - Disposable& operator=(Disposable&&) = delete; + Disposable(Disposable&&) = delete; + Disposable& operator=(Disposable&&) = delete; ~Disposable() override = default; @@ -94,11 +93,10 @@ public: : _disposed(nullptr) {} - Maid(const Maid&) = delete; + Maid(const Maid&) = delete; Maid& operator=(const Maid&) = delete; - - Maid(Maid&&) = delete; - Maid& operator=(Maid&&) = delete; + Maid(Maid&&) = delete; + Maid& operator=(Maid&&) = delete; ~Maid() { cleanup(); } |