From 6433ed2ae3e4d60a98ff87a81b0e66115d463cd3 Mon Sep 17 00:00:00 2001 From: Max Limper Date: Tue, 13 Sep 2016 18:52:39 +0200 Subject: [PATCH] gcc 4.7 compile fix --- src/OpenMesh/Core/Geometry/Vector11T.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenMesh/Core/Geometry/Vector11T.hh b/src/OpenMesh/Core/Geometry/Vector11T.hh index 28ad0b71..0f771fd4 100644 --- a/src/OpenMesh/Core/Geometry/Vector11T.hh +++ b/src/OpenMesh/Core/Geometry/Vector11T.hh @@ -366,8 +366,8 @@ class VectorT { template auto operator% (const VectorT &_rhs) const -> typename std::enable_ifvalues_[0] * _rhs[0] - - this->values_[0] * _rhs[0]), + VectorT>::type { return { values_[1] * _rhs[2] - values_[2] * _rhs[1],