From 625acd0ab0059c91f42dbbec02a8c0c75dd64537 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 13 Dec 2015 12:51:49 +0200 Subject: [PATCH] cygwin bench fix using atoi --- bench/spdlog-bench-mt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/spdlog-bench-mt.cpp b/bench/spdlog-bench-mt.cpp index c1002f18..0492306d 100644 --- a/bench/spdlog-bench-mt.cpp +++ b/bench/spdlog-bench-mt.cpp @@ -6,7 +6,7 @@ #include #include #include - +#include #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;