diff options
Diffstat (limited to 'cassert/include/cassert.h')
-rw-r--r-- | cassert/include/cassert.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cassert/include/cassert.h b/cassert/include/cassert.h index e1c38d6..ef6e033 100644 --- a/cassert/include/cassert.h +++ b/cassert/include/cassert.h | |||
@@ -21,9 +21,9 @@ | |||
21 | LOGE(format, __VA_ARGS__); \ | 21 | LOGE(format, __VA_ARGS__); \ |
22 | TRAP(); | 22 | TRAP(); |
23 | 23 | ||
24 | /// Conditional hard assert. | 24 | //// Conditional hard assert. |
25 | #define ASSERT(condition) \ | 25 | #define ASSERT(condition) \ |
26 | if (!condition) { \ | 26 | if (!(condition)) { \ |
27 | LOGE("Assertion failed: " #condition) \ | 27 | LOGE("Assertion failed: " #condition) \ |
28 | TRAP(); \ | 28 | TRAP(); \ |
29 | } | 29 | } |