Commit 2278e923 authored by gabime's avatar gabime

some fixes for gcc

parent 26cf0b38
......@@ -113,7 +113,7 @@ void bench(int howmany, std::shared_ptr<spdlog::logger> log)
auto start = system_clock::now();
for (auto i = 0; i < howmany; ++i)
{
log->info("Hello logger: msg number ", i);
log->info("Hello logger: msg number {}", i);
}
......
......@@ -289,7 +289,7 @@ class T_formatter :public flag_formatter
class z_formatter :public flag_formatter
{
public:
const std::chrono::seconds cache_refresh = const std::chrono::seconds(5);
const std::chrono::seconds cache_refresh = std::chrono::seconds(5);
z_formatter() :_last_update(std::chrono::seconds(0)) {}
z_formatter(const z_formatter&) = delete;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment