boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user