mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
AK: Add AK_MAKE_DEFAULT_COPYABLE
This commit is contained in:
committed by
Andrew Kaster
parent
7f8d69ee2f
commit
855ea192be
@@ -20,3 +20,8 @@ private: \
|
||||
public: \
|
||||
c(c&&) = default; \
|
||||
c& operator=(c&&) = default
|
||||
|
||||
#define AK_MAKE_DEFAULT_COPYABLE(c) \
|
||||
public: \
|
||||
c(c const&) = default; \
|
||||
c& operator=(c const&) = default
|
||||
|
||||
Reference in New Issue
Block a user