modernize C++: move from boost::bind to std::bind
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user