mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 17:41:34 +08:00
cygwin bench fix using atoi
This commit is contained in:
parent
d7f1932e10
commit
625acd0ab0
@ -6,7 +6,7 @@
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
#include <atomic>
|
||||
|
||||
#include <cstdlib>
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
int thread_count = 10;
|
||||
if(argc > 1)
|
||||
thread_count = atoi(argv[1]);
|
||||
thread_count = std::atoi(argv[1]);
|
||||
|
||||
int howmany = 1000000;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user