modernize C++: move from boost::bind to std::bind

This commit is contained in:
wmayer
2023-08-08 14:19:00 +02:00
committed by wwmayer
parent 2bb3dd1c7e
commit 52e1c7c33b
64 changed files with 279 additions and 266 deletions

View File

@@ -56,7 +56,7 @@ using namespace Gui;
using Connection = boost::signals2::connection;
namespace bp = boost::placeholders;
namespace sp = std::placeholders;
class NotificationAreaObserver;
@@ -829,7 +829,7 @@ NotificationArea::NotificationArea(QWidget* parent)
// user initiated
pImp->finishRestoreDocumentConnection =
App::GetApplication().signalFinishRestoreDocument.connect(
boost::bind(&Gui::NotificationArea::slotRestoreFinished, this, bp::_1));
std::bind(&Gui::NotificationArea::slotRestoreFinished, this, sp::_1));
// Initialisation of the timer to inhibit continuous updates of the notification system in case
// clusters of messages arrive (so as to delay the actual notification until the whole cluster