mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-20 13:28:13 +03:00
AK: Add AK_MAKE_DEFAULT_COPYABLE
This commit is contained in:
parent
7f8d69ee2f
commit
855ea192be
Notes:
sideshowbarker
2024-07-17 14:33:07 +09:00
Author: https://github.com/DanShaders Commit: https://github.com/SerenityOS/serenity/commit/855ea192be Pull-request: https://github.com/SerenityOS/serenity/pull/21661 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/kleinesfilmroellchen Reviewed-by: https://github.com/trflynn89
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user