diff options
author | David Robillard <d@drobilla.net> | 2018-09-16 22:11:37 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-16 22:11:37 +0200 |
commit | 0c6bb92f3f59b6b86f3b7b56224677e79b2e6900 (patch) | |
tree | 40e3173eec8b493f22152372cc00782f2a076f92 /raul/Noncopyable.hpp | |
parent | 07396e8d23bb8724c5960b57aca33e08a97f4e52 (diff) | |
download | raul-0c6bb92f3f59b6b86f3b7b56224677e79b2e6900.tar.gz raul-0c6bb92f3f59b6b86f3b7b56224677e79b2e6900.tar.bz2 raul-0c6bb92f3f59b6b86f3b7b56224677e79b2e6900.zip |
Lint with clang-tidy
Diffstat (limited to 'raul/Noncopyable.hpp')
-rw-r--r-- | raul/Noncopyable.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/raul/Noncopyable.hpp b/raul/Noncopyable.hpp index 633df6e..876cee8 100644 --- a/raul/Noncopyable.hpp +++ b/raul/Noncopyable.hpp @@ -20,13 +20,13 @@ namespace Raul { class Noncopyable { -protected: - Noncopyable() {} - ~Noncopyable() {} - -private: +public: Noncopyable(const Noncopyable&) = delete; const Noncopyable& operator=(const Noncopyable&) = delete; + +protected: + Noncopyable() = default; + ~Noncopyable() = default; }; } // namespace Raul |