diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-05 08:28:29 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-05 20:50:24 +0200 |
commit | fa2deae2a86417d7e0d4cd33fb933b1000d20313 (patch) | |
tree | 949c81b62fd5399d478a28dcf0701f8d52ef2d96 /src/init.cpp | |
parent | c367736f85ac7f63a63cbfa0bcc05a42277f04bc (diff) | |
download | bitcoin-fa2deae2a86417d7e0d4cd33fb933b1000d20313.tar.xz |
Wrap boost::replace_all
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index 13a4b3f433..713598f411 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -92,7 +92,6 @@ #include <sys/stat.h> #endif -#include <boost/algorithm/string/replace.hpp> #include <boost/signals2/signal.hpp> #if ENABLE_ZMQ @@ -1641,7 +1640,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) uiInterface.NotifyBlockTip_connect([block_notify](SynchronizationState sync_state, const CBlockIndex* pBlockIndex) { if (sync_state != SynchronizationState::POST_INIT || !pBlockIndex) return; std::string command = block_notify; - boost::replace_all(command, "%s", pBlockIndex->GetBlockHash().GetHex()); + ReplaceAll(command, "%s", pBlockIndex->GetBlockHash().GetHex()); std::thread t(runCommand, command); t.detach(); // thread runs free }); |