Skip to content

Commit fd3fb7a

Browse files
committed
make the linter happy
1 parent c44f5f7 commit fd3fb7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/reactor-cpp/assert.hh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,13 @@ constexpr inline void validate([[maybe_unused]] bool condition, [[maybe_unused]]
6969

7070
// assert macro that avoids unused variable warnings
7171
#ifdef NDEBUG
72+
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
7273
#define reactor_assert(x) \
7374
do { \
7475
(void)sizeof(x); \
7576
} while (0)
7677
#else
78+
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
7779
#define reactor_assert(x) assert(x)
7880
#endif
7981

0 commit comments

Comments
 (0)