Use IsSpace(...) instead of boost::is_space
This commit is contained in:
parent
c5fd143edb
commit
587924f000
2 changed files with 3 additions and 4 deletions
|
@ -17,7 +17,7 @@ static void ResetArgs(const std::string& strArg)
|
||||||
{
|
{
|
||||||
std::vector<std::string> vecArg;
|
std::vector<std::string> vecArg;
|
||||||
if (strArg.size())
|
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:
|
// Insert dummy executable name:
|
||||||
vecArg.insert(vecArg.begin(), "testbitcoin");
|
vecArg.insert(vecArg.begin(), "testbitcoin");
|
||||||
|
|
|
@ -12,15 +12,14 @@ KNOWN_VIOLATIONS=(
|
||||||
"src/qt/rpcconsole.cpp:.*atoi"
|
"src/qt/rpcconsole.cpp:.*atoi"
|
||||||
"src/rest.cpp:.*strtol"
|
"src/rest.cpp:.*strtol"
|
||||||
"src/test/dbwrapper_tests.cpp:.*snprintf"
|
"src/test/dbwrapper_tests.cpp:.*snprintf"
|
||||||
"src/test/getarg_tests.cpp.*split"
|
|
||||||
"src/torcontrol.cpp:.*atoi"
|
"src/torcontrol.cpp:.*atoi"
|
||||||
"src/torcontrol.cpp:.*strtol"
|
"src/torcontrol.cpp:.*strtol"
|
||||||
"src/util/system.cpp:.*atoi"
|
|
||||||
"src/util/system.cpp:.*fprintf"
|
|
||||||
"src/util/strencodings.cpp:.*atoi"
|
"src/util/strencodings.cpp:.*atoi"
|
||||||
"src/util/strencodings.cpp:.*strtol"
|
"src/util/strencodings.cpp:.*strtol"
|
||||||
"src/util/strencodings.cpp:.*strtoul"
|
"src/util/strencodings.cpp:.*strtoul"
|
||||||
"src/util/strencodings.h:.*atoi"
|
"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/)"
|
REGEXP_IGNORE_EXTERNAL_DEPENDENCIES="^src/(crypto/ctaes/|leveldb/|secp256k1/|tinyformat.h|univalue/)"
|
||||||
|
|
Loading…
Reference in a new issue