summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-23 17:31:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-23 17:31:31 +0200
commitcce1f768e7399b838a2b865511915bdd576dbbf4 (patch)
tree4c6a8f2dc9112394fd329d56c0f628ce66b16467 /compat
parent6b875a0919b9932eca9ed877552c34ecb220b7d8 (diff)
a
Diffstat (limited to 'compat')
-rw-r--r--compat/defs.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/compat/defs.hpp b/compat/defs.hpp
index de922df2..e4b92260 100644
--- a/compat/defs.hpp
+++ b/compat/defs.hpp
@@ -25,8 +25,12 @@
type& operator=(const type&) = delete
#define fm_DECLARE_DELETED_MOVE_ASSIGNMENT(type) \
- [[deprecated]] type(type&&) = delete; \
- [[deprecated]] type& operator=(type&&) = delete
+ type(type&&) = delete; \
+ type& operator=(type&&) = delete
+
+#define fm_DECLARE_DEPRECATED_MOVE_ASSIGNMENT(type) \
+ [[deprecated]] type(type&&) = default; \
+ [[deprecated]] type& operator=(type&&) = default
#define fm_DECLARE_DEFAULT_MOVE_ASSIGNMENT(type) \
constexpr type(type&&) noexcept = default; \