fix gcc and clang warnings

This commit is contained in:
gabime
2018-06-26 02:00:33 +03:00
parent a6e2f23780
commit e66ee8b710
5 changed files with 85 additions and 129 deletions

View File

@@ -48,7 +48,7 @@ public:
return static_cast<spdlog::level::level_enum>(level_.load(std::memory_order_relaxed));
}
void set_pattern(const std::string& pattern)
void set_pattern(const std::string &pattern)
{
formatter_ = std::unique_ptr<spdlog::formatter>(new pattern_formatter(pattern));
}