From c8f89940e23c31eae8f170bc9f0a0a7cb15c6881 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Thu, 19 Dec 2024 17:05:17 +0100 Subject: [PATCH] Disable a clang-tidy warning we are getting for a debug macro --- test/include/test.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/include/test.hpp b/test/include/test.hpp index 876e37efb..b004ade32 100644 --- a/test/include/test.hpp +++ b/test/include/test.hpp @@ -13,7 +13,7 @@ struct assert_error : public std::runtime_error { explicit assert_error(const char* what_arg) : std::runtime_error(what_arg) { } }; -#define protozero_assert(x) if (!(x)) { throw assert_error{#x}; } +#define protozero_assert(x) if (!(x)) { throw assert_error{#x}; } // NOLINT(readability-simplify-boolean-expr) #include #include