mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
Fix compilation on Windows
This commit is contained in:
parent
6ca4db2d7c
commit
bf6639b9f6
@ -80,15 +80,13 @@ struct Triangulate::PolyVertex
|
||||
bool IsInsideTria( const PolyVertex* v );
|
||||
PolyVertex* Delete();
|
||||
|
||||
struct Compare // compare PolyVertex'es by node
|
||||
{
|
||||
bool operator()(const PolyVertex* a, const PolyVertex* b) const
|
||||
{
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user