mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:14:59 +00:00
AK: Add AK_MAKE_DEFAULT_COPYABLE
This commit is contained in:
parent
7f8d69ee2f
commit
855ea192be
1 changed files with 5 additions and 0 deletions
|
@ -20,3 +20,8 @@ private: \
|
||||||
public: \
|
public: \
|
||||||
c(c&&) = default; \
|
c(c&&) = default; \
|
||||||
c& operator=(c&&) = default
|
c& operator=(c&&) = default
|
||||||
|
|
||||||
|
#define AK_MAKE_DEFAULT_COPYABLE(c) \
|
||||||
|
public: \
|
||||||
|
c(c const&) = default; \
|
||||||
|
c& operator=(c const&) = default
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue