We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cd1639 commit 251014bCopy full SHA for 251014b
test/include/test.hpp
@@ -13,7 +13,7 @@ struct assert_error : public std::runtime_error {
13
explicit assert_error(const char* what_arg) : std::runtime_error(what_arg) {
14
}
15
};
16
-#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)
17
18
#include <protozero/pbf_builder.hpp>
19
#include <protozero/pbf_message.hpp>
0 commit comments