mirror of
https://github.com/gabime/spdlog.git
synced 2025-03-01 19:06:04 +08:00
cygwin fix in bench
This commit is contained in:
parent
90027f1582
commit
842cc5bd46
@ -8,7 +8,7 @@
|
||||
#include <atomic>
|
||||
#include <iostream>
|
||||
#include <chrono>
|
||||
|
||||
#include <cstdlib>
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
using namespace std;
|
||||
@ -22,7 +22,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
int thread_count = 10;
|
||||
if(argc > 1)
|
||||
thread_count = atoi(argv[1]);
|
||||
thread_count = ::atoi(argv[1]);
|
||||
int howmany = 1000000;
|
||||
|
||||
spd::set_async_mode(1048576);
|
||||
|
Loading…
Reference in New Issue
Block a user