summaryrefslogtreecommitdiffhomepage
path: root/compat/defs.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-07 21:38:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-07 21:38:42 +0200
commitd19a44bcb53cebbee0ae51981f66b93b31cb9dcb (patch)
treef7d7d5ece879418b0a19e3b61cae2b0136096d87 /compat/defs.hpp
parent6e19e9446b436d9608b5a4931f25d328a5e56f93 (diff)
a
Diffstat (limited to 'compat/defs.hpp')
-rw-r--r--compat/defs.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/defs.hpp b/compat/defs.hpp
index f4590ca3..36c6a034 100644
--- a/compat/defs.hpp
+++ b/compat/defs.hpp
@@ -8,10 +8,10 @@
#define progn(...) [&]{__VA_ARGS__;}()
-#define DECLARE_DEPRECATED_COPY_OPERATOR(type) \
+#define DECLARE_DEPRECATED_COPY_ASSIGNMENT(type) \
[[deprecated]] type(const type&) = default; \
[[deprecated]] type& operator=(const type&) = default
-#define DECLARE_DELETED_COPY_OPERATOR(type) \
+#define DECLARE_DELETED_COPY_ASSIGNMENT(type) \
type(const type&) = delete; \
type& operator=(const type&) = delete