diff options
Diffstat (limited to 'compat/defs.hpp')
-rw-r--r-- | compat/defs.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compat/defs.hpp b/compat/defs.hpp index 3ba5ebaf..f4590ca3 100644 --- a/compat/defs.hpp +++ b/compat/defs.hpp @@ -11,3 +11,7 @@ #define DECLARE_DEPRECATED_COPY_OPERATOR(type) \ [[deprecated]] type(const type&) = default; \ [[deprecated]] type& operator=(const type&) = default + +#define DECLARE_DELETED_COPY_OPERATOR(type) \ + type(const type&) = delete; \ + type& operator=(const type&) = delete |