Undo: Some singular changes. (Sorry about that.)

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@808 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Hans-Christian Ebke
2013-02-20 12:25:03 +00:00
parent 7d9d01a7e2
commit 9a69c39b60
4 changed files with 19 additions and 57 deletions

View File

@@ -106,8 +106,8 @@ class VertexVertexIterT
typedef typename Mesh::HalfedgeHandle HalfedgeHandle;
typedef typename Mesh::Vertex value_type;
typedef typename Mesh::VertexHandle value_handle;
typedef value_handle value_type;
#if 0
typedef std::bidirectional_iterator_tag iterator_category;
@@ -250,14 +250,16 @@ class VertexVertexIterT
/// Return a reference to the current target.
typename Mesh::VertexHandle operator*() const {
return handle();
reference operator*() const {
assert(mesh_);
return mesh_->deref(handle());
}
/// Return a pointer to the current target.
typename Mesh::VertexHandle *operator->() const {
return &handle();
pointer operator->() const {
assert(mesh_);
return &mesh_->deref(handle());
}