aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/common/base.hpp')
-rw-r--r--include/cru/common/base.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/common/base.hpp b/include/cru/common/base.hpp
index 2c935046..4264142d 100644
--- a/include/cru/common/base.hpp
+++ b/include/cru/common/base.hpp
@@ -3,6 +3,8 @@
#include <stdexcept>
+#define CRU_UNUSED(entity) static_cast<void>(entity);
+
#define CRU_DEFAULT_COPY(classname) \
classname(const classname&) = default; \
classname& operator=(const classname&) = default;