summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-06-07 03:43:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-06-07 03:43:55 +0200
commit9a485dcda3ddb0c9e1344df3f753905cc6c9a43b (patch)
tree4a4057632a77c58b6f70106510695af18230f675
parent7724937b96187b6d6d35818ab4c5eb24721adfee (diff)
fix warning
-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(...) \