[clang-tidy] Add parentheses to macro arguments

Found with bugprone-macro-parentheses

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-11-07 12:44:10 -08:00
committed by Victor Zverovich
parent 0f0848e4f4
commit e6e8298904
3 changed files with 6 additions and 6 deletions

View File

@@ -188,7 +188,7 @@
#endif
#ifndef FMT_ASSERT
# define FMT_ASSERT(condition, message) assert((condition) && message)
# define FMT_ASSERT(condition, message) assert((condition) && (message))
#endif
// libc++ supports string_view in pre-c++17.