debug/warn: add forgotten 'do'

This commit is contained in:
Danny Robson 2021-12-21 13:55:55 +10:00
parent 5e05584708
commit d86f60413e

View File

@ -25,7 +25,7 @@
} while (0)
#define RETURN_FALSE_UNLESS(CONDITION) { \
#define RETURN_FALSE_UNLESS(CONDITION) do { \
if (const auto &__return_false_unless = (CONDITION); !__return_false_unless) { \
if constexpr (debug_enabled) { \
std::cerr << __FILE__ << ':' \