Browse Source

Fix test under msvc

6.0.7
Marek Roszko 5 years ago
parent
commit
83d231cd49
  1. 4
      pcbnew/drc/drc_test_provider_silk_clearance.cpp
  2. 2
      pcbnew/drc/drc_test_provider_silk_to_mask.cpp

4
pcbnew/drc/drc_test_provider_silk_clearance.cpp

@ -56,7 +56,7 @@ public:
virtual bool Run() override;
virtual const wxString GetName() const override
virtual const wxString GetName() const override
{
return "silk_clearance";
};
@ -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 );
} );

2
pcbnew/drc/drc_test_provider_silk_to_mask.cpp

@ -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…
Cancel
Save