aboutsummaryrefslogtreecommitdiff
path: root/src/util/string.cpp
blob: dff782c3309f75f8e4a45675e598422062f01454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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>

#include <string>

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