aboutsummaryrefslogtreecommitdiff
path: root/src/util/string.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-08-08 11:44:27 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-08-08 11:53:23 +0100
commitfea75ad3caa29972db32d3ce7e0fe125ec77a0eb (patch)
tree08d2d1c87ca5b45d5128b858e26504928ffeff6d /src/util/string.h
parent857526e8cbb0847a865e9c2509425960d458f535 (diff)
downloadbitcoin-fea75ad3caa29972db32d3ce7e0fe125ec77a0eb.tar.xz
refactor: Drop `boost/algorithm/string/replace.hpp` dependency
Diffstat (limited to 'src/util/string.h')
-rw-r--r--src/util/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/string.h b/src/util/string.h
index df20e34ae9..dd4de888bb 100644
--- a/src/util/string.h
+++ b/src/util/string.h
@@ -17,7 +17,7 @@
#include <string_view>
#include <vector>
-void ReplaceAll(std::string& in_out, std::string_view search, std::string_view substitute);
+void ReplaceAll(std::string& in_out, const std::string& search, const std::string& substitute);
[[nodiscard]] inline std::vector<std::string> SplitString(std::string_view str, char sep)
{