diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-05 08:28:29 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-05 20:50:24 +0200 |
commit | fa2deae2a86417d7e0d4cd33fb933b1000d20313 (patch) | |
tree | 949c81b62fd5399d478a28dcf0701f8d52ef2d96 /src/validation.cpp | |
parent | c367736f85ac7f63a63cbfa0bcc05a42277f04bc (diff) |
Wrap boost::replace_all
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 5a2bee2418..4614fc1402 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -55,12 +55,11 @@ #include <warnings.h> #include <algorithm> +#include <deque> #include <numeric> #include <optional> #include <string> -#include <boost/algorithm/string/replace.hpp> - using node::BLOCKFILE_CHUNK_SIZE; using node::BlockManager; using node::BlockMap; @@ -1577,7 +1576,7 @@ static void AlertNotify(const std::string& strMessage) std::string singleQuote("'"); std::string safeStatus = SanitizeString(strMessage); safeStatus = singleQuote+safeStatus+singleQuote; - boost::replace_all(strCmd, "%s", safeStatus); + ReplaceAll(strCmd, "%s", safeStatus); std::thread t(runCommand, strCmd); t.detach(); // thread runs free |