modernize C++: move from boost::bind to std::bind
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
|
||||
using namespace PartDesignGui;
|
||||
using namespace Gui;
|
||||
namespace bp = boost::placeholders;
|
||||
namespace sp = std::placeholders;
|
||||
|
||||
/* TRANSLATOR PartDesignGui::TaskHoleParameters */
|
||||
|
||||
@@ -251,7 +251,7 @@ TaskHoleParameters::TaskHoleParameters(ViewProviderHole* HoleView, QWidget* pare
|
||||
ui->CustomThreadClearance->bind(pcHole->CustomThreadClearance);
|
||||
|
||||
connectPropChanged = App::GetApplication().signalChangePropertyEditor.connect(
|
||||
boost::bind(&TaskHoleParameters::changedObject, this, bp::_1, bp::_2));
|
||||
std::bind(&TaskHoleParameters::changedObject, this, sp::_1, sp::_2));
|
||||
|
||||
this->groupLayout()->addWidget(proxy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user