initialize pointer with 0

This commit is contained in:
Andreas Fabri 2014-07-03 14:59:59 +02:00
parent 3e1237e7d8
commit 2c8b9e7cd4
1 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ public:
operator SHalfedge_handle() const
{ SHalfedge_handle e; CGAL::assign(e,Ibase::operator*()); return e; }
operator SHalfloop_handle() const
{ SHalfloop_handle l; CGAL::assign(l,Ibase::operator*()); return l; }
{ SHalfloop_handle l=0; CGAL::assign(l,Ibase::operator*()); return l; }
operator Object_handle() const { return Ibase::operator*(); }
Object_handle& operator*() const { return Ibase::operator*(); }
@ -188,7 +188,7 @@ public:
{ SHalfedge_handle e; CGAL::assign(e,Ibase::operator*());
return SHalfedge_const_handle(e); }
operator SHalfloop_const_handle() const
{ SHalfloop_handle l; CGAL::assign(l,Ibase::operator*());
{ SHalfloop_handle l=0; CGAL::assign(l,Ibase::operator*());
return SHalfloop_const_handle(l); }
operator Object_handle() const { return Ibase::operator*(); }