mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Try to work around AppleClang 15 compiler bug.
The error message is: reference to local binding 'pinIt' declared in enclosing function 'ERC_TESTER::TestPinToPin'
This commit is contained in:
parent
1997d8410e
commit
74a507249d
@ -1027,8 +1027,10 @@ int ERC_TESTER::TestPinToPin()
|
||||
return std::pair<size_t, iterator_t>( p.second, p.first );
|
||||
} );
|
||||
|
||||
for( const auto& [amount, pinIt] : pins_dsc )
|
||||
for( const auto& [amount, pinItBind] : pins_dsc )
|
||||
{
|
||||
auto& pinIt = pinItBind;
|
||||
|
||||
if( pin_mismatches.empty() )
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user