Some singular changes.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@806 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Hans-Christian Ebke
2013-02-20 12:19:25 +00:00
parent e826572afc
commit 152719a838
4 changed files with 58 additions and 20 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,16 +250,14 @@ class VertexVertexIterT
/// Return a reference to the current target.
reference operator*() const {
assert(mesh_);
return mesh_->deref(handle());
typename Mesh::VertexHandle operator*() const {
return handle();
}
/// Return a pointer to the current target.
pointer operator->() const {
assert(mesh_);
return &mesh_->deref(handle());
typename Mesh::VertexHandle *operator->() const {
return &handle();
}