mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
AK: Add AK_MAKE_NONMOVABLE
This commit is contained in:
parent
8d550c174e
commit
0c72e0c09f
1 changed files with 5 additions and 0 deletions
|
@ -4,3 +4,8 @@
|
|||
private: \
|
||||
c(const c&) = delete; \
|
||||
c& operator=(const c&) = delete;
|
||||
|
||||
#define AK_MAKE_NONMOVABLE(c) \
|
||||
private: \
|
||||
c(c&&) = delete; \
|
||||
c& operator=(c&&) = delete;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue