mirror of https://github.com/CGAL/cgal
remove the lambda expression
maybe solve that issue:
```
21>C:\CGAL_ROOT\CGAL-6.1-Ic-155\include\CGAL/Conforming_constrained_Delaunay_triangulation_vertex_data_3.h(82,1): error C2888: '==::<lambda_f8bc645280bb56be32d0268df7c48762>': symbol cannot be defined within namespace 'CGAL' [C:\CGAL_ROOT\CGAL-6.1-Ic-155\cmake\platforms\MSVC-2019-Community-Release\test\Constrained_triangulation_3_Examples\ccdt_3_preprocessing.vcxproj]
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-6.1-Ic-155/Constrained_triangulation_3_Examples/TestReport_Christo_MSVC-2019-Community-Release.gz
This commit is contained in:
parent
c9748b5230
commit
d07dc0daad
|
|
@ -71,15 +71,16 @@ protected:
|
|||
public:
|
||||
friend bool operator==(const Conforming_constrained_Delaunay_triangulation_vertex_data_3& lhs,
|
||||
const Conforming_constrained_Delaunay_triangulation_vertex_data_3& rhs) {
|
||||
return lhs.m_vertex_type == rhs.m_vertex_type && lhs.mark == rhs.mark && std::invoke([&]() {
|
||||
if(lhs.m_vertex_type == CDT_3_vertex_type::STEINER_ON_EDGE) {
|
||||
return lhs.u.on_edge.nb_of_incident_constraints == rhs.u.on_edge.nb_of_incident_constraints &&
|
||||
lhs.u.on_edge.c_id == rhs.u.on_edge.c_id;
|
||||
} else if(lhs.m_vertex_type == CDT_3_vertex_type::STEINER_IN_FACE) {
|
||||
return lhs.u.on_face.face_index == rhs.u.on_face.face_index;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
if(lhs.m_vertex_type != rhs.m_vertex_type || lhs.mark != rhs.mark) return false;
|
||||
switch(lhs.m_vertex_type) {
|
||||
case CDT_3_vertex_type::STEINER_ON_EDGE:
|
||||
return lhs.u.on_edge.nb_of_incident_constraints == rhs.u.on_edge.nb_of_incident_constraints &&
|
||||
lhs.u.on_edge.c_id == rhs.u.on_edge.c_id;
|
||||
case CDT_3_vertex_type::STEINER_IN_FACE:
|
||||
return lhs.u.on_face.face_index == rhs.u.on_face.face_index;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
|
|
|||
Loading…
Reference in New Issue