Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.com>2019-04-27 02:34:50 +0300
committergabime <gmelman1@gmail.com>2019-04-27 02:34:50 +0300
commit2de924a187d6cfcec0f87723e3790b07d4bfb01a (patch)
tree88a9c27385c5dffb40884761c3eb0aff4c64ec41 /include/spdlog/spdlog.h
parentc1c2ff2d07d3420038aa5579940efb9472808e6e (diff)
clang-format
Diffstat (limited to 'include/spdlog/spdlog.h')
-rw-r--r--include/spdlog/spdlog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h
index 0c2589e8..aaa93886 100644
--- a/include/spdlog/spdlog.h
+++ b/include/spdlog/spdlog.h
@@ -328,7 +328,8 @@ inline void critical(const wchar_t *fmt, const Args &... args)
//
#define SPDLOG_LOGGER_CALL(logger, level, ...) \
- do { \
+ do \
+ { \
if (logger->should_log(level)) \
logger->log(spdlog::source_loc{SPDLOG_FILE_BASENAME(__FILE__), __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__); \
} while (0)