boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated

This commit is contained in:
wmayer
2020-06-09 12:55:29 +02:00
committed by wwmayer
parent 88fd77b31d
commit 730154a684
112 changed files with 451 additions and 390 deletions

View File

@@ -26,7 +26,7 @@
# include <vector>
# include <list>
# include <set>
# include <boost/bind.hpp>
# include <boost/bind/bind.hpp>
# include <QMessageBox>
# include <QPushButton>
#endif
@@ -43,6 +43,7 @@
using namespace PartDesignGui;
namespace bp = boost::placeholders;
WorkflowManager * WorkflowManager::_instance = nullptr;
@@ -55,11 +56,11 @@ WorkflowManager::WorkflowManager() {
}
connectNewDocument = App::GetApplication().signalNewDocument.connect(
boost::bind( &WorkflowManager::slotNewDocument, this, _1 ) );
boost::bind( &WorkflowManager::slotNewDocument, this, bp::_1 ) );
connectFinishRestoreDocument = App::GetApplication().signalFinishRestoreDocument.connect(
boost::bind( &WorkflowManager::slotFinishRestoreDocument, this, _1 ) );
boost::bind( &WorkflowManager::slotFinishRestoreDocument, this, bp::_1 ) );
connectDeleteDocument = App::GetApplication().signalDeleteDocument.connect(
boost::bind( &WorkflowManager::slotDeleteDocument, this, _1 ) );
boost::bind( &WorkflowManager::slotDeleteDocument, this, bp::_1 ) );
}
WorkflowManager::~WorkflowManager() {