aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/string_tools.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-27 19:15:05 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-25 14:29:29 +0000
commit59776a64ffad2523be7789d1d034031f7ee59a58 (patch)
tree8cf8afb705b3e4194a35c2e015d226922e517bd5 /contrib/epee/include/string_tools.h
parentMerge pull request #5286 (diff)
downloadmonero-59776a64ffad2523be7789d1d034031f7ee59a58.tar.xz
epee: some more minor JSON parsing speedup
Diffstat (limited to '')
-rw-r--r--contrib/epee/include/string_tools.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/epee/include/string_tools.h b/contrib/epee/include/string_tools.h
index 2e65876e6..da47b7d55 100644
--- a/contrib/epee/include/string_tools.h
+++ b/contrib/epee/include/string_tools.h
@@ -42,6 +42,8 @@
#include <type_traits>
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string/predicate.hpp>
+#include "misc_log_ex.h"
+#include "storages/parserse_base_utils.h"
#include "hex.h"
#include "memwipe.h"
#include "mlocker.h"
@@ -126,7 +128,7 @@ DISABLE_GCC_WARNING(maybe-uninitialized)
{
for (char c : str_id)
{
- if (!std::isdigit(c))
+ if (!epee::misc_utils::parse::isdigit(c))
return false;
}
}