diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/defs.hpp | 8 |
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; \ |