Suppress Boost::Optional unitialized compile warning
Fixes: lp:1743009 * https://bugs.launchpad.net/kicad/+bug/1743009
This commit is contained in:
parent
98c8a5ac0c
commit
273f0d56cd
|
@ -381,7 +381,7 @@ bool D_PAD::GetBestAnchorPosition( VECTOR2I& aPos )
|
|||
minDistEdge = std::max( GetSize().x, GetSize().y );
|
||||
}
|
||||
|
||||
OPT<VECTOR2I> bestAnchor;
|
||||
OPT<VECTOR2I> bestAnchor( []()->OPT<VECTOR2I> { return NULLOPT; }() );
|
||||
|
||||
for ( int y = 0; y < stepsY ; y++ )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue