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/util/system.cpp | |
parent | c367736f85ac7f63a63cbfa0bcc05a42277f04bc (diff) | |
download | bitcoin-fa2deae2a86417d7e0d4cd33fb933b1000d20313.tar.xz |
Wrap boost::replace_all
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r-- | src/util/system.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp index facf6855cb..44ebf5cb3e 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -76,7 +76,6 @@ #include <malloc.h> #endif -#include <boost/algorithm/string/replace.hpp> #include <univalue.h> #include <fstream> @@ -1253,7 +1252,7 @@ fs::path GetSpecialFolderPath(int nFolder, bool fCreate) std::string ShellEscape(const std::string& arg) { std::string escaped = arg; - boost::replace_all(escaped, "'", "'\"'\"'"); + ReplaceAll(escaped, "'", "'\"'\"'"); return "'" + escaped + "'"; } #endif |