clang-tidy performance-unnecessary-copy-initialization

This commit is contained in:
Daniel Agar
2017-02-01 22:15:50 -05:00
parent 7e5f09f408
commit 6f05fec335
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -110,7 +110,7 @@ protected:
/// @brief To assert specifically to true.
#define ut_assert_true(test) \
do { \
if (test != true) { \
if ((test) != true) { \
_print_assert("result not true", #test, __FILE__, __LINE__); \
return false; \
} else { \
@@ -121,7 +121,7 @@ protected:
/// @brief To assert specifically to true.
#define ut_assert_false(test) \
do { \
if (test != false) { \
if ((test) != false) { \
_print_assert("result not false", #test, __FILE__, __LINE__); \
return false; \
} else { \