Fix MSVC warning C4355: 'this': used in base member initializer list.
This commit is contained in:
parent
cf7ad330e9
commit
6d6f6f384e
|
@ -50,14 +50,14 @@ public:
|
||||||
COLLECTOR() :
|
COLLECTOR() :
|
||||||
m_Threshold( 0 ),
|
m_Threshold( 0 ),
|
||||||
m_MenuCancelled( false ),
|
m_MenuCancelled( false ),
|
||||||
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( [this]( EDA_ITEM* aItem, void* aTestData )
|
m_inspector = [this]( EDA_ITEM* aItem, void* aTestData )
|
||||||
{
|
{
|
||||||
return this->Inspect( aItem, aTestData );
|
return this->Inspect( aItem, aTestData );
|
||||||
} )
|
};
|
||||||
{
|
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~COLLECTOR() {}
|
virtual ~COLLECTOR() {}
|
||||||
|
|
Loading…
Reference in New Issue