Fix compil issue (created by commit "Added std::less specialization for wxPoint") with wxWidgets 3.1.1

This commit is contained in:
jean-pierre charras
2018-04-13 11:06:46 +02:00
parent 1663627135
commit e57435c0fc
2 changed files with 9 additions and 2 deletions
+2
View File
@@ -388,6 +388,7 @@ size_t std::hash<wxString>::operator()( const wxString& s ) const
#endif
#ifdef USE_KICAD_WXPOINT_LESS
bool std::less<wxPoint>::operator()( const wxPoint& aA, const wxPoint& aB ) const
{
if( aA.x == aB.x )
@@ -395,3 +396,4 @@ bool std::less<wxPoint>::operator()( const wxPoint& aA, const wxPoint& aB ) cons
return aA.x < aB.x;
}
#endif