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-06-14 00:23:51 +0300
committergabime <gmelman1@gmail.com>2019-06-14 00:23:51 +0300
commitdb5af8ead12da9b4c8b2b5bf7f82a76e9574dbf3 (patch)
treeed3f1477ea37d827532f9a0594d904f7e2d7bd5f /include/spdlog
parentc09dee7717e1ae7289fe18977405e9c33fb48ab0 (diff)
clang-format
Diffstat (limited to 'include/spdlog')
-rw-r--r--include/spdlog/details/pattern_formatter-inl.h4
-rw-r--r--include/spdlog/spdlog.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/spdlog/details/pattern_formatter-inl.h b/include/spdlog/details/pattern_formatter-inl.h
index 6124c946..fe92e7b9 100644
--- a/include/spdlog/details/pattern_formatter-inl.h
+++ b/include/spdlog/details/pattern_formatter-inl.h
@@ -828,10 +828,10 @@ public:
: flag_formatter(padinfo)
{}
- static const char* basename(const char* filename)
+ static const char *basename(const char *filename)
{
const char *rv = std::strrchr(filename, os::folder_sep);
- return rv != nullptr ? rv + 1: filename;
+ return rv != nullptr ? rv + 1 : filename;
}
void format(const details::log_msg &msg, const std::tm &, fmt::memory_buffer &dest) override
diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h
index d3dd2af1..dfa42145 100644
--- a/include/spdlog/spdlog.h
+++ b/include/spdlog/spdlog.h
@@ -267,7 +267,7 @@ inline void critical(const wchar_t *fmt, const Args &... args)
do \
{ \
if (logger->should_log(level)) \
- logger->log(spdlog::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__); \
+ logger->log(spdlog::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__); \
} while (0)
#if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_TRACE