summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--defs.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/defs.hpp b/defs.hpp
index 299da7df..6fca3bb0 100644
--- a/defs.hpp
+++ b/defs.hpp
@@ -55,7 +55,7 @@ struct key_error final : exception {
_e.file = __FILE__; \
_e.function = FUNCTION_NAME; \
std::snprintf(_e.msg, sizeof(_e.msg), __VA_ARGS__); \
- throw _e; \
+ throw _e;/*NOLINT(misc-throw-by-value-catch-by-reference)*/ \
}())
#define ABORT(...) \