mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-30 06:09:48 +01:00
[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:
committed by
Victor Zverovich
parent
0f0848e4f4
commit
e6e8298904
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user