NonCopyable: Specify const in copy constructor/assignment signatures

This commit is contained in:
Lioncash 2016-03-12 14:40:28 -05:00
parent 5b85723b90
commit 5d74e02286

View File

@ -12,6 +12,6 @@ protected:
~NonCopyable() = default;
private:
NonCopyable(NonCopyable&) = delete;
NonCopyable& operator=(NonCopyable&) = delete;
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator=(const NonCopyable&) = delete;
};