From a6b17622f66980af1d29a64caf1a69a92517bccd Mon Sep 17 00:00:00 2001 From: Erik Garrison Date: Mon, 25 May 2020 11:00:24 +0200 Subject: [PATCH] use wstring as input to stoull to make GCC 10.1.0 happy --- lib/io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/io.cpp b/lib/io.cpp index 695f7803a..47c577dd5 100644 --- a/lib/io.cpp +++ b/lib/io.cpp @@ -82,7 +82,7 @@ uint64_t _parse_number(std::string::const_iterator& c, const std::string::const_ std::string::const_iterator s = c; while (c != end and isdigit(*c)) ++c; if (c > s) { - return std::stoull(std::string(s,c)); + return std::stoull(std::wstring(s,c)); } else { return 0; }