Fix a compil issue (missing header) and a minor compil warning
This commit is contained in:
parent
5b9aab9070
commit
931401b5be
|
@ -24,6 +24,7 @@
|
|||
#include <trace_helpers.h>
|
||||
#include <string_utils.h>
|
||||
#include <macros.h>
|
||||
#include <cstdint>
|
||||
|
||||
using namespace fontconfig;
|
||||
|
||||
|
|
|
@ -66,10 +66,13 @@ void ConnectBoardShapes( std::vector<PCB_SHAPE*>& aShapeList,
|
|||
if( aShapeList.size() == 0 )
|
||||
return;
|
||||
|
||||
#if 0
|
||||
// Not used, but not removed, just in case
|
||||
auto close_enough = []( const VECTOR2I& aLeft, const VECTOR2I& aRight, unsigned aLimit ) -> bool
|
||||
{
|
||||
return ( aLeft - aRight ).SquaredEuclideanNorm() <= SEG::Square( aLimit );
|
||||
};
|
||||
#endif
|
||||
|
||||
auto closer_to_first = []( const VECTOR2I& aRef, const VECTOR2I& aFirst,
|
||||
const VECTOR2I& aSecond ) -> bool
|
||||
|
|
Loading…
Reference in New Issue