Skip to content

Commit 587924f

Browse files
Use IsSpace(...) instead of boost::is_space
1 parent c5fd143 commit 587924f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/test/getarg_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ static void ResetArgs(const std::string& strArg)
1717
{
1818
std::vector<std::string> vecArg;
1919
if (strArg.size())
20-
boost::split(vecArg, strArg, boost::is_space(), boost::token_compress_on);
20+
boost::split(vecArg, strArg, IsSpace, boost::token_compress_on);
2121

2222
// Insert dummy executable name:
2323
vecArg.insert(vecArg.begin(), "testbitcoin");

test/lint/lint-locale-dependence.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ KNOWN_VIOLATIONS=(
1212
"src/qt/rpcconsole.cpp:.*atoi"
1313
"src/rest.cpp:.*strtol"
1414
"src/test/dbwrapper_tests.cpp:.*snprintf"
15-
"src/test/getarg_tests.cpp.*split"
1615
"src/torcontrol.cpp:.*atoi"
1716
"src/torcontrol.cpp:.*strtol"
18-
"src/util/system.cpp:.*atoi"
19-
"src/util/system.cpp:.*fprintf"
2017
"src/util/strencodings.cpp:.*atoi"
2118
"src/util/strencodings.cpp:.*strtol"
2219
"src/util/strencodings.cpp:.*strtoul"
2320
"src/util/strencodings.h:.*atoi"
21+
"src/util/system.cpp:.*atoi"
22+
"src/util/system.cpp:.*fprintf"
2423
)
2524

2625
REGEXP_IGNORE_EXTERNAL_DEPENDENCIES="^src/(crypto/ctaes/|leveldb/|secp256k1/|tinyformat.h|univalue/)"

0 commit comments

Comments
 (0)