This commit is contained in:
Roman Perepelitsa 2023-08-10 09:32:33 +02:00
commit 2d9c1f271b
9 changed files with 12 additions and 12 deletions

View file

@ -23,7 +23,7 @@
#include <stdexcept>
// The argument must be an expression convertible to bool.
// Does nothing if the expression evalutes to true. Otherwise
// Does nothing if the expression evaluates to true. Otherwise
// it's equivalent to LOG(FATAL).
#define CHECK(cond...) \
static_cast<void>(0), (!!(cond)) ? static_cast<void>(0) : LOG(FATAL) << #cond << ": "