Fix test under msvc

This commit is contained in:
Marek Roszko 2020-10-12 19:47:36 -04:00
parent 9db12be714
commit 83d231cd49
2 changed files with 3 additions and 3 deletions

View File

@ -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 );
} );

View File

@ -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 );
} );