pcbnew: suppress compile warning on boost::optional

This commit is contained in:
Seth Hillbrand 2017-10-20 09:33:19 -07:00 committed by jean-pierre charras
parent 87821c1490
commit 93a0e9e3d2
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ bool D_PAD::GetBestAnchorPosition( VECTOR2I& aPos )
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++ )
{