boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
# include <QItemSelection>
|
||||
# include <QItemSelectionModel>
|
||||
# include <QTimer>
|
||||
# include <boost/bind.hpp>
|
||||
# include <boost/bind/bind.hpp>
|
||||
# include <Python.h>
|
||||
# include <Inventor/actions/SoSearchAction.h>
|
||||
# include <Inventor/details/SoLineDetail.h>
|
||||
@@ -75,6 +75,7 @@
|
||||
#include <Gui/Window.h>
|
||||
|
||||
using namespace PartGui;
|
||||
namespace bp = boost::placeholders;
|
||||
|
||||
FilletRadiusDelegate::FilletRadiusDelegate(QObject *parent) : QItemDelegate(parent)
|
||||
{
|
||||
@@ -245,9 +246,9 @@ DlgFilletEdges::DlgFilletEdges(FilletType type, Part::FilletBase* fillet, QWidge
|
||||
|
||||
d->fillet = fillet;
|
||||
d->connectApplicationDeletedObject = App::GetApplication().signalDeletedObject
|
||||
.connect(boost::bind(&DlgFilletEdges::onDeleteObject, this, _1));
|
||||
.connect(boost::bind(&DlgFilletEdges::onDeleteObject, this, bp::_1));
|
||||
d->connectApplicationDeletedDocument = App::GetApplication().signalDeleteDocument
|
||||
.connect(boost::bind(&DlgFilletEdges::onDeleteDocument, this, _1));
|
||||
.connect(boost::bind(&DlgFilletEdges::onDeleteDocument, this, bp::_1));
|
||||
// set tree view with three columns
|
||||
QStandardItemModel* model = new FilletRadiusModel(this);
|
||||
connect(model, SIGNAL(toggleCheckState(const QModelIndex&)),
|
||||
|
||||
Reference in New Issue
Block a user