Skip to content

Commit 251014b

Browse files
committed
Disable a clang-tidy warning we are getting for a debug macro
1 parent 4cd1639 commit 251014b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/include/test.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ struct assert_error : public std::runtime_error {
1313
explicit assert_error(const char* what_arg) : std::runtime_error(what_arg) {
1414
}
1515
};
16-
#define protozero_assert(x) if (!(x)) { throw assert_error{#x}; }
16+
#define protozero_assert(x) if (!(x)) { throw assert_error{#x}; } // NOLINT(readability-simplify-boolean-expr)
1717

1818
#include <protozero/pbf_builder.hpp>
1919
#include <protozero/pbf_message.hpp>

0 commit comments

Comments
 (0)