Fix compilation on Windows

This commit is contained in:
rnv 2019-02-25 19:35:16 +03:00
parent 6ca4db2d7c
commit bf6639b9f6

View File

@ -80,15 +80,13 @@ struct Triangulate::PolyVertex
bool IsInsideTria( const PolyVertex* v );
PolyVertex* Delete();
struct Compare // compare PolyVertex'es by node
{
// compare PolyVertex'es by node
bool operator()(const PolyVertex* a, const PolyVertex* b) const
{
return ( a->_nxyz.Node() < b->_nxyz.Node() );
}
};
// set of PolyVertex sorted by mesh node
typedef boost::container::flat_set< PolyVertex*, Compare > PVSet;
typedef boost::container::flat_set< PolyVertex*, PolyVertex > PVSet;
};
struct Triangulate::Data