mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 21:07:52 +00:00
common_types: Specify const in deleted copy constructor/assignment operator
This commit is contained in:
parent
2f0a61debf
commit
45e2fce7c0
1 changed files with 2 additions and 2 deletions
|
@ -56,6 +56,6 @@ protected:
|
||||||
NonCopyable() = default;
|
NonCopyable() = default;
|
||||||
~NonCopyable() = default;
|
~NonCopyable() = default;
|
||||||
|
|
||||||
NonCopyable(NonCopyable&) = delete;
|
NonCopyable(const NonCopyable&) = delete;
|
||||||
NonCopyable& operator=(NonCopyable&) = delete;
|
NonCopyable& operator=(const NonCopyable&) = delete;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue