diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-08-08 11:44:27 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-08-08 11:53:23 +0100 |
commit | fea75ad3caa29972db32d3ce7e0fe125ec77a0eb (patch) | |
tree | 08d2d1c87ca5b45d5128b858e26504928ffeff6d /src/util/string.h | |
parent | 857526e8cbb0847a865e9c2509425960d458f535 (diff) | |
download | bitcoin-fea75ad3caa29972db32d3ce7e0fe125ec77a0eb.tar.xz |
refactor: Drop `boost/algorithm/string/replace.hpp` dependency
Diffstat (limited to 'src/util/string.h')
-rw-r--r-- | src/util/string.h | 2 |
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) { |