Use explicit this capture in COLLECTOR m_inspector lambda
This commit is contained in:
parent
9e3865ed01
commit
41fc1411eb
|
@ -53,7 +53,7 @@ public:
|
||||||
m_scanTypes( {} ),
|
m_scanTypes( {} ),
|
||||||
// Inspect() is virtual so calling it from a class common inspector preserves
|
// Inspect() is virtual so calling it from a class common inspector preserves
|
||||||
// polymorphism.
|
// polymorphism.
|
||||||
m_inspector( [=]( EDA_ITEM* aItem, void* aTestData )
|
m_inspector( [this]( EDA_ITEM* aItem, void* aTestData )
|
||||||
{
|
{
|
||||||
return this->Inspect( aItem, aTestData );
|
return this->Inspect( aItem, aTestData );
|
||||||
} )
|
} )
|
||||||
|
|
Loading…
Reference in New Issue