modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
This commit is contained in:
@@ -194,8 +194,10 @@ public:
|
||||
:ref(0),pcLinked(vp)
|
||||
{
|
||||
FC_LOG("new link to " << pcLinked->getObject()->getFullName());
|
||||
//NOLINTBEGIN
|
||||
connChangeIcon = vp->signalChangeIcon.connect(
|
||||
std::bind(&LinkInfo::slotChangeIcon,this));
|
||||
//NOLINTEND
|
||||
vp->forceUpdate(true);
|
||||
sensor.setFunction(sensorCB);
|
||||
sensor.setData(this);
|
||||
|
||||
Reference in New Issue
Block a user