NonCopyable: Specify const in copy constructor/assignment signatures
This commit is contained in:
parent
5b85723b90
commit
5d74e02286
|
@ -12,6 +12,6 @@ protected:
|
||||||
~NonCopyable() = default;
|
~NonCopyable() = default;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NonCopyable(NonCopyable&) = delete;
|
NonCopyable(const NonCopyable&) = delete;
|
||||||
NonCopyable& operator=(NonCopyable&) = delete;
|
NonCopyable& operator=(const NonCopyable&) = delete;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue