some fixes for gcc
This commit is contained in:
parent
26cf0b38dd
commit
2278e9230f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user