mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-09 11:03:27 +02:00
Use IsSpace(...) instead of boost::is_space
This commit is contained in:
@@ -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/)"
|
||||||
|
Reference in New Issue
Block a user