Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6ca4db2
)
Fix compilation on Windows
V9_3_0a1
author
rnv
<rnv@opencascade.com>
Mon, 25 Feb 2019 16:35:16 +0000
(19:35 +0300)
committer
rnv
<rnv@opencascade.com>
Mon, 25 Feb 2019 16:35:16 +0000
(19:35 +0300)
src/SMESHUtils/SMESH_Triangulate.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHUtils/SMESH_Triangulate.cxx
b/src/SMESHUtils/SMESH_Triangulate.cxx
index 873eb37d7ab9d631c93d0c934fc5697e26455151..0d0aaca1f457c310338f0ce89d74155f05d832fc 100644
(file)
--- a/
src/SMESHUtils/SMESH_Triangulate.cxx
+++ b/
src/SMESHUtils/SMESH_Triangulate.cxx
@@
-80,15
+80,13
@@
struct Triangulate::PolyVertex
bool IsInsideTria( const PolyVertex* v );
PolyVertex* Delete();
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() );
}
return ( a->_nxyz.Node() < b->_nxyz.Node() );
}
- };
// set of PolyVertex sorted by mesh 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
};
struct Triangulate::Data