@@ -247,13 +247,13 @@ static void BlockTipChanged(ClientModel *clientmodel, bool initialSync, int heig
247247void ClientModel::subscribeToCoreSignals ()
248248{
249249 // Connect signals to client
250- m_handler_show_progress = m_node.handleShowProgress (boost ::bind (ShowProgress, this , _1, _2));
251- m_handler_notify_num_connections_changed = m_node.handleNotifyNumConnectionsChanged (boost ::bind (NotifyNumConnectionsChanged, this , _1));
252- m_handler_notify_network_active_changed = m_node.handleNotifyNetworkActiveChanged (boost ::bind (NotifyNetworkActiveChanged, this , _1));
253- m_handler_notify_alert_changed = m_node.handleNotifyAlertChanged (boost ::bind (NotifyAlertChanged, this ));
254- m_handler_banned_list_changed = m_node.handleBannedListChanged (boost ::bind (BannedListChanged, this ));
255- m_handler_notify_block_tip = m_node.handleNotifyBlockTip (boost ::bind (BlockTipChanged, this , _1, _2, _3, _4, false ));
256- m_handler_notify_header_tip = m_node.handleNotifyHeaderTip (boost ::bind (BlockTipChanged, this , _1, _2, _3, _4, true ));
250+ m_handler_show_progress = m_node.handleShowProgress (std ::bind (ShowProgress, this , std::placeholders:: _1, std::placeholders:: _2));
251+ m_handler_notify_num_connections_changed = m_node.handleNotifyNumConnectionsChanged (std ::bind (NotifyNumConnectionsChanged, this , std::placeholders:: _1));
252+ m_handler_notify_network_active_changed = m_node.handleNotifyNetworkActiveChanged (std ::bind (NotifyNetworkActiveChanged, this , std::placeholders:: _1));
253+ m_handler_notify_alert_changed = m_node.handleNotifyAlertChanged (std ::bind (NotifyAlertChanged, this ));
254+ m_handler_banned_list_changed = m_node.handleBannedListChanged (std ::bind (BannedListChanged, this ));
255+ m_handler_notify_block_tip = m_node.handleNotifyBlockTip (std ::bind (BlockTipChanged, this , std::placeholders:: _1, std::placeholders:: _2, std::placeholders:: _3, std::placeholders:: _4, false ));
256+ m_handler_notify_header_tip = m_node.handleNotifyHeaderTip (std ::bind (BlockTipChanged, this , std::placeholders:: _1, std::placeholders:: _2, std::placeholders:: _3, std::placeholders:: _4, true ));
257257}
258258
259259void ClientModel::unsubscribeFromCoreSignals ()
0 commit comments