Relax constexpr

This commit is contained in:
Victor Zverovich
2024-09-29 09:16:29 -07:00
parent ff9ee0461a
commit d64b100a30
3 changed files with 40 additions and 42 deletions

View File

@@ -12,7 +12,7 @@
void throw_assertion_failure(const char* message);
#define FMT_ASSERT(condition, message) \
if (!(condition)) throw_assertion_failure(message);
((condition) ? (void)0 : throw_assertion_failure(message))
#include "gtest/gtest.h"