aboutsummaryrefslogtreecommitdiff
path: root/src/util/string.cpp
blob: d05222e8b8a444c4efd6c9db6b7f074e3aabb0e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) 2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include <util/string.h>

#include <boost/algorithm/string/replace.hpp>

void ReplaceAll(std::string& in_out, std::string_view search, std::string_view substitute)
{
    boost::replace_all(in_out, search, substitute);
}