Skip to content

Commit

Permalink
another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbakharew committed Jun 22, 2022
1 parent 8b34da1 commit 58a3742
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/Basics/debugging.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,11 @@ struct AssertionConditionalLogger {
#ifdef ARANGODB_ENABLE_MAINTAINER_MODE

#define TRI_ASSERT(expr) /*cppcheck-suppress ignoredReturnValue*/ \
(ADB_LIKELY(expr)) \
? (void)nullptr \
: ::arangodb::debug::AssertionLogger{__FILE__, __LINE__, \
ARANGODB_PRETTY_FUNCTION, #expr} & \
::arangodb::debug::AssertionLogger::assertionStringStream
(ADB_LIKELY(expr)) /*cppcheck-suppress ignoredReturnValue*/ \
? (void)nullptr /*cppcheck-suppress ignoredReturnValue*/ \
: ::arangodb::debug::AssertionLogger{__FILE__, __LINE__, /*cppcheck-suppress ignoredReturnValue*/ \
ARANGODB_PRETTY_FUNCTION, #expr} & /*cppcheck-suppress ignoredReturnValue*/ \
::arangodb::debug::AssertionLogger::assertionStringStream /*cppcheck-suppress ignoredReturnValue*/

#else

Expand Down

0 comments on commit 58a3742

Please sign in to comment.