Skip to content

Commit

Permalink
Disable a clang-tidy warning we are getting for a debug macro
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Dec 20, 2024
1 parent 4f8d58b commit c8f8994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/include/test.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <protozero/pbf_builder.hpp>
#include <protozero/pbf_message.hpp>
Expand Down

0 comments on commit c8f8994

Please sign in to comment.