1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

AK: Introduce AK_MAKE_DEFAULT_MOVABLE macro for easier default impls

This commit is contained in:
Ben Wiederhake 2023-06-16 15:56:20 +02:00 committed by Sam Atkins
parent ef391de635
commit 3d3dfc8da8

View file

@ -15,3 +15,8 @@ private: \
private: \
c(c&&) = delete; \
c& operator=(c&&) = delete
#define AK_MAKE_DEFAULT_MOVABLE(c) \
public: \
c(c&&) = default; \
c& operator=(c&&) = default