cygwin bench fix using atoi

This commit is contained in:
gabime 2015-12-13 12:51:49 +02:00
parent d7f1932e10
commit 625acd0ab0

View File

@ -6,7 +6,7 @@
#include <thread> #include <thread>
#include <vector> #include <vector>
#include <atomic> #include <atomic>
#include <cstdlib>
#include "spdlog/spdlog.h" #include "spdlog/spdlog.h"
@ -17,7 +17,7 @@ int main(int argc, char* argv[])
int thread_count = 10; int thread_count = 10;
if(argc > 1) if(argc > 1)
thread_count = atoi(argv[1]); thread_count = std::atoi(argv[1]);
int howmany = 1000000; int howmany = 1000000;