mirror of https://github.com/CGAL/cgal
initialize number of vertices
This commit is contained in:
parent
7278e6ddf1
commit
227a097ed8
|
|
@ -90,7 +90,7 @@ template <class Traits_P, class Container_P>
|
|||
std::istream &
|
||||
operator>>(std::istream &is, Polygon_2<Traits_P,Container_P>& p)
|
||||
{
|
||||
int n; // number of vertices
|
||||
int n = 0; // number of vertices
|
||||
is >> n;
|
||||
typename Traits_P::Point_2 point;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue