diff options
| author | crupest <crupest@outlook.com> | 2019-12-13 22:25:29 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2019-12-13 22:25:29 +0800 |
| commit | 3d3290a60d328b6d2a6d3fc4d8d7483583ed13aa (patch) | |
| tree | 3e2b75cfb70e96d4b5f4a0b5cb19a8c3cd20cf53 /include | |
| parent | 9110574bb51e9e2959842a7641f598d34c3cd847 (diff) | |
| download | cru-3d3290a60d328b6d2a6d3fc4d8d7483583ed13aa.tar.gz cru-3d3290a60d328b6d2a6d3fc4d8d7483583ed13aa.tar.bz2 cru-3d3290a60d328b6d2a6d3fc4d8d7483583ed13aa.zip | |
...
Diffstat (limited to 'include')
| -rw-r--r-- | include/cru/common/base.hpp | 2 |
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; |
