some fixes for gcc

This commit is contained in:
gabime 2014-12-02 00:18:44 +02:00
parent 26cf0b38dd
commit 2278e9230f
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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;