diff options
Diffstat (limited to 'src/util/string.cpp')
-rw-r--r-- | src/util/string.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/string.cpp b/src/util/string.cpp index 8ea3a1afc6..dff782c330 100644 --- a/src/util/string.cpp +++ b/src/util/string.cpp @@ -3,3 +3,12 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <util/string.h> + +#include <boost/algorithm/string/replace.hpp> + +#include <string> + +void ReplaceAll(std::string& in_out, std::string_view search, std::string_view substitute) +{ + boost::replace_all(in_out, search, substitute); +} |