From e70cc8983c570bbacee37a67df86b1bf959894df Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 29 Oct 2018 09:13:07 +0100 Subject: Use IsDigit(...) instead of std::isdigit --- src/qt/rpcconsole.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/qt/rpcconsole.cpp') diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 606f1d2910..c8d169a29d 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include @@ -226,7 +227,7 @@ bool RPCConsole::RPCParseCommandLine(interfaces::Node* node, std::string &strRes if (lastResult.isArray()) { for(char argch: curarg) - if (!std::isdigit(argch)) + if (!IsDigit(argch)) throw std::runtime_error("Invalid result query"); subelement = lastResult[atoi(curarg.c_str())]; } -- cgit v1.2.3