diff --git a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_site_2.h b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_site_2.h index b74bbd5db97..74c3879929e 100644 --- a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_site_2.h +++ b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_site_2.h @@ -330,6 +330,8 @@ operator>>(std::istream &is, Point_2 p1, p2; is >> p1 >> p2; t = Site_2::construct_site_2(p1, p2); + } else { + is.setstate(std::ios::failbit); } } return is;