From 949e7050822c9d4d218a98bbdd815d5b0ea50cf2 Mon Sep 17 00:00:00 2001 From: Janis Born Date: Thu, 12 Jan 2017 13:41:08 +0100 Subject: [PATCH] more C++98 compatibility --- src/OpenMesh/Core/Mesh/PolyMeshT.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenMesh/Core/Mesh/PolyMeshT.hh b/src/OpenMesh/Core/Mesh/PolyMeshT.hh index bccabcd6..0554161e 100644 --- a/src/OpenMesh/Core/Mesh/PolyMeshT.hh +++ b/src/OpenMesh/Core/Mesh/PolyMeshT.hh @@ -413,8 +413,8 @@ public: the two incident vertices */ Point calc_edge_midpoint(HalfedgeHandle _heh) const { - auto vh0 = this->from_vertex_handle(_heh); - auto vh1 = this->to_vertex_handle(_heh); + VertexHandle vh0 = this->from_vertex_handle(_heh); + VertexHandle vh1 = this->to_vertex_handle(_heh); return 0.5 * (this->point(vh0) + this->point(vh1)); }