more C++98 compatibility

This commit is contained in:
Janis Born
2017-01-12 13:41:08 +01:00
parent 3d1bf65c93
commit 949e705082

View File

@@ -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));
}