modernize C++: move from boost::bind to std::bind
This commit is contained in:
@@ -65,14 +65,14 @@
|
||||
|
||||
|
||||
using namespace FemGui;
|
||||
namespace bp = boost::placeholders;
|
||||
namespace sp = std::placeholders;
|
||||
|
||||
void FunctionWidget::setViewProvider(ViewProviderFemPostFunction* view)
|
||||
{
|
||||
m_view = view;
|
||||
m_object = static_cast<Fem::FemPostFunction*>(view->getObject());
|
||||
m_connection = m_object->getDocument()->signalChangedObject.connect(
|
||||
boost::bind(&FunctionWidget::onObjectsChanged, this, bp::_1, bp::_2));
|
||||
std::bind(&FunctionWidget::onObjectsChanged, this, sp::_1, sp::_2));
|
||||
}
|
||||
|
||||
void FunctionWidget::onObjectsChanged(const App::DocumentObject& obj, const App::Property& p) {
|
||||
|
||||
Reference in New Issue
Block a user