modernize C++: move from boost::bind to std::bind

This commit is contained in:
wmayer
2023-08-08 14:19:00 +02:00
committed by wwmayer
parent 2bb3dd1c7e
commit 52e1c7c33b
64 changed files with 279 additions and 266 deletions

View File

@@ -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);
}