From 587924f0006d2eb9b8218b6abffe181bb9c27513 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 5 Nov 2018 17:22:09 +0100 Subject: [PATCH] Use IsSpace(...) instead of boost::is_space --- src/test/getarg_tests.cpp | 2 +- test/lint/lint-locale-dependence.sh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/test/getarg_tests.cpp b/src/test/getarg_tests.cpp index 0432ede3e..43e3cea0d 100644 --- a/src/test/getarg_tests.cpp +++ b/src/test/getarg_tests.cpp @@ -17,7 +17,7 @@ static void ResetArgs(const std::string& strArg) { std::vector vecArg; if (strArg.size()) - boost::split(vecArg, strArg, boost::is_space(), boost::token_compress_on); + boost::split(vecArg, strArg, IsSpace, boost::token_compress_on); // Insert dummy executable name: vecArg.insert(vecArg.begin(), "testbitcoin"); diff --git a/test/lint/lint-locale-dependence.sh b/test/lint/lint-locale-dependence.sh index 2765ebe5c..c76e862ae 100755 --- a/test/lint/lint-locale-dependence.sh +++ b/test/lint/lint-locale-dependence.sh @@ -12,15 +12,14 @@ KNOWN_VIOLATIONS=( "src/qt/rpcconsole.cpp:.*atoi" "src/rest.cpp:.*strtol" "src/test/dbwrapper_tests.cpp:.*snprintf" - "src/test/getarg_tests.cpp.*split" "src/torcontrol.cpp:.*atoi" "src/torcontrol.cpp:.*strtol" - "src/util/system.cpp:.*atoi" - "src/util/system.cpp:.*fprintf" "src/util/strencodings.cpp:.*atoi" "src/util/strencodings.cpp:.*strtol" "src/util/strencodings.cpp:.*strtoul" "src/util/strencodings.h:.*atoi" + "src/util/system.cpp:.*atoi" + "src/util/system.cpp:.*fprintf" ) REGEXP_IGNORE_EXTERNAL_DEPENDENCIES="^src/(crypto/ctaes/|leveldb/|secp256k1/|tinyformat.h|univalue/)"