aboutsummaryrefslogtreecommitdiff
path: root/src/util/system.cpp
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-05-05 08:28:29 +0200
committerMacroFake <falke.marco@gmail.com>2022-05-05 20:50:24 +0200
commitfa2deae2a86417d7e0d4cd33fb933b1000d20313 (patch)
tree949c81b62fd5399d478a28dcf0701f8d52ef2d96 /src/util/system.cpp
parentc367736f85ac7f63a63cbfa0bcc05a42277f04bc (diff)
downloadbitcoin-fa2deae2a86417d7e0d4cd33fb933b1000d20313.tar.xz
Wrap boost::replace_all
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r--src/util/system.cpp3
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