1
Fork 0
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:
Andreas Kling 2019-09-22 00:17:29 +02:00
parent 8d550c174e
commit 0c72e0c09f

View file

@ -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;