mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
aix - reference to 'thread' is ambiguous, sys/thread.h vs std::thread
This commit is contained in:
parent
232df72b82
commit
569b851b80
@ -162,7 +162,7 @@ void thread_fun(std::shared_ptr<spdlog::logger> logger, int howmany)
|
||||
void bench_mt(int howmany, std::shared_ptr<spdlog::logger> logger, int thread_count)
|
||||
{
|
||||
using std::chrono::high_resolution_clock;
|
||||
vector<thread> threads;
|
||||
vector<std::thread> threads;
|
||||
auto start = high_resolution_clock::now();
|
||||
|
||||
int msgs_per_thread = howmany / thread_count;
|
||||
|
Loading…
Reference in New Issue
Block a user