Skip to content
Snippets Groups Projects
Commit 245720f6 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Add parenthesis around macro.

clang-tidy bugprone-macro-parentheses check.
parent db04e1da
No related branches found
No related tags found
No related merge requests found
......@@ -56,9 +56,9 @@ template <typename Msg>
#define OGS_STR(x) #x
#define OGS_STRINGIFY(x) OGS_STR(x)
#define OGS_LOCATION \
" at " + BaseLib::extractBaseName(__FILE__) + \
", line " OGS_STRINGIFY(__LINE__)
#define OGS_LOCATION \
(" at " + BaseLib::extractBaseName(__FILE__) + \
", line " OGS_STRINGIFY(__LINE__))
#define OGS_FATAL(fmt, ...) \
BaseLib::detail::error_impl(BaseLib::format(fmt, ##__VA_ARGS__) + \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment