aboutsummaryrefslogtreecommitdiff
path: root/src/common/assert.h
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2018-07-02 10:20:50 -0600
committerbunnei <bunneidev@gmail.com>2018-07-02 21:45:47 -0400
commit0d46f0df122dbc9b9a9d9f97e2da6b1953ef939b (patch)
treeaba03bf491181cf741420dd1445bd5399e48a3af /src/common/assert.h
parent638956aa81de255bf4bbd4e69a717eabf4ceadb9 (diff)
Update clang format
Diffstat (limited to 'src/common/assert.h')
-rw-r--r--src/common/assert.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/assert.h b/src/common/assert.h
index fbe87273bb..655446f34a 100644
--- a/src/common/assert.h
+++ b/src/common/assert.h
@@ -30,15 +30,14 @@ __declspec(noinline, noreturn)
#define ASSERT(_a_) \
do \
if (!(_a_)) { \
- assert_noinline_call([] { LOG_CRITICAL(Debug, "Assertion Failed!"); }); \
+ assert_noinline_call([] { LOG_CRITICAL(Debug, "Assertion Failed!"); }); \
} \
while (0)
#define ASSERT_MSG(_a_, ...) \
do \
if (!(_a_)) { \
- assert_noinline_call( \
- [&] { LOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); }); \
+ assert_noinline_call([&] { LOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); }); \
} \
while (0)