pcbnew: suppress compile warning on boost::optional
This commit is contained in:
parent
87821c1490
commit
93a0e9e3d2
|
@ -369,7 +369,7 @@ bool D_PAD::GetBestAnchorPosition( VECTOR2I& aPos )
|
||||||
minDistEdge = std::max( GetSize().x, GetSize().y );
|
minDistEdge = std::max( GetSize().x, GetSize().y );
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::optional<VECTOR2I> bestAnchor;
|
auto bestAnchor( []()->boost::optional<VECTOR2I>{ return boost::none; }() );
|
||||||
|
|
||||||
for ( int y = 0; y < stepsY ; y++ )
|
for ( int y = 0; y < stepsY ; y++ )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue