mirror of https://github.com/CGAL/cgal
fix an UBSAN report when `ch` is null
This commit is contained in:
parent
c53dfe6986
commit
2434b2437b
|
|
@ -180,7 +180,7 @@ operator==(Triangulation_simplex_3<TriangulationDataStructure_3> s0,
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
case (3):
|
case (3):
|
||||||
return (&(*s0.ch) == &(*s1.ch));
|
return s0.ch.operator->() == s1.ch.operator->();
|
||||||
}
|
}
|
||||||
CGAL_error();
|
CGAL_error();
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue