mirror of https://github.com/CGAL/cgal
initialize pointer with 0
This commit is contained in:
parent
3e1237e7d8
commit
2c8b9e7cd4
|
|
@ -158,7 +158,7 @@ public:
|
||||||
operator SHalfedge_handle() const
|
operator SHalfedge_handle() const
|
||||||
{ SHalfedge_handle e; CGAL::assign(e,Ibase::operator*()); return e; }
|
{ SHalfedge_handle e; CGAL::assign(e,Ibase::operator*()); return e; }
|
||||||
operator SHalfloop_handle() const
|
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*(); }
|
operator Object_handle() const { return Ibase::operator*(); }
|
||||||
Object_handle& operator*() const { return Ibase::operator*(); }
|
Object_handle& operator*() const { return Ibase::operator*(); }
|
||||||
|
|
@ -188,7 +188,7 @@ public:
|
||||||
{ SHalfedge_handle e; CGAL::assign(e,Ibase::operator*());
|
{ SHalfedge_handle e; CGAL::assign(e,Ibase::operator*());
|
||||||
return SHalfedge_const_handle(e); }
|
return SHalfedge_const_handle(e); }
|
||||||
operator SHalfloop_const_handle() const
|
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); }
|
return SHalfloop_const_handle(l); }
|
||||||
|
|
||||||
operator Object_handle() const { return Ibase::operator*(); }
|
operator Object_handle() const { return Ibase::operator*(); }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue