mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
AK: Add AK_MAKE_NONMOVABLE
This commit is contained in:
parent
8d550c174e
commit
0c72e0c09f
Notes:
sideshowbarker
2024-07-19 12:00:51 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0c72e0c09f0
1 changed files with 5 additions and 0 deletions
|
@ -4,3 +4,8 @@
|
||||||
private: \
|
private: \
|
||||||
c(const c&) = delete; \
|
c(const c&) = delete; \
|
||||||
c& operator=(const c&) = delete;
|
c& operator=(const c&) = delete;
|
||||||
|
|
||||||
|
#define AK_MAKE_NONMOVABLE(c) \
|
||||||
|
private: \
|
||||||
|
c(c&&) = delete; \
|
||||||
|
c& operator=(c&&) = delete;
|
||||||
|
|
Loading…
Reference in a new issue