From 9a485dcda3ddb0c9e1344df3f753905cc6c9a43b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 7 Jun 2022 03:43:55 +0200 Subject: fix warning --- defs.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(...) \ -- cgit v1.2.3