modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
This commit is contained in:
@@ -111,8 +111,10 @@ public:
|
||||
|
||||
private:
|
||||
FemPostObjectSelectionObserver() {
|
||||
//NOLINTBEGIN
|
||||
this->connectSelection = Gui::Selection().signalSelectionChanged.connect(
|
||||
std::bind(&FemPostObjectSelectionObserver::selectionChanged, this, sp::_1));
|
||||
//NOLINTEND
|
||||
}
|
||||
|
||||
~FemPostObjectSelectionObserver() = default;
|
||||
|
||||
Reference in New Issue
Block a user