Fix test under msvc
This commit is contained in:
parent
9db12be714
commit
83d231cd49
|
@ -210,7 +210,7 @@ bool DRC_TEST_PROVIDER_SILK_CLEARANCE::Run()
|
|||
const int delta = 250;
|
||||
|
||||
targetTree.QueryCollidingPairs( &silkTree, layerPairs, checkClearance, m_largestClearance,
|
||||
[this]( int aCount, int aSize ) -> bool
|
||||
[&]( int aCount, int aSize ) -> bool
|
||||
{
|
||||
return reportProgress( aCount, aSize, delta );
|
||||
} );
|
||||
|
|
|
@ -176,7 +176,7 @@ bool DRC_TEST_PROVIDER_SILK_TO_MASK::Run()
|
|||
const int delta = 250;
|
||||
|
||||
maskTree.QueryCollidingPairs( &silkTree, layerPairs, checkClearance, m_largestClearance,
|
||||
[this]( int aCount, int aSize ) -> bool
|
||||
[&]( int aCount, int aSize ) -> bool
|
||||
{
|
||||
return reportProgress( aCount, aSize, delta );
|
||||
} );
|
||||
|
|
Loading…
Reference in New Issue