modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
This commit is contained in:
@@ -156,9 +156,11 @@ DlgDisplayPropertiesImp::DlgDisplayPropertiesImp(bool floating, QWidget* parent,
|
||||
|
||||
Gui::Selection().Attach(this);
|
||||
|
||||
//NOLINTBEGIN
|
||||
d->connectChangedObject =
|
||||
Gui::Application::Instance->signalChangedObject.connect(std::bind
|
||||
(&DlgDisplayPropertiesImp::slotChangedObject, this, sp::_1, sp::_2));
|
||||
//NOLINTEND
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user