mirror of https://github.com/CGAL/cgal
const_cast is useless
This commit is contained in:
parent
d95d834af1
commit
684f48e14c
|
|
@ -591,7 +591,7 @@ private: //------------------------------------------------------ iterator types
|
|||
return this->hnd_ == other.hnd_;
|
||||
}
|
||||
|
||||
Index_ dereference() const { return const_cast<Index_&>(hnd_); }
|
||||
Index_ dereference() const { return hnd_; }
|
||||
|
||||
Index_ hnd_;
|
||||
const Surface_mesh* mesh_;
|
||||
|
|
|
|||
Loading…
Reference in New Issue