diff --git a/src/OpenMesh/Core/Geometry/Vector11T.hh b/src/OpenMesh/Core/Geometry/Vector11T.hh index 6c60166f..8df3fafe 100644 --- a/src/OpenMesh/Core/Geometry/Vector11T.hh +++ b/src/OpenMesh/Core/Geometry/Vector11T.hh @@ -357,8 +357,7 @@ class VectorT { template() * std::declval())> - typename std::enable_if::type - operator|(const VectorT& _rhs) const { + ResultScalar operator|(const VectorT& _rhs) const { ResultScalar p = values_[0] * _rhs[0]; for (int i = 1; i < DIM; ++i) { p += values_[i] * _rhs[i]; @@ -603,7 +602,7 @@ operator<<(std::ostream& os, const VectorT &_vec) { /// read the space-separated components of a vector from a stream template typename std::enable_if() >> + std::declval() >> std::declval())) >= 0, std::istream&>::type operator>> (std::istream& is, VectorT &_vec) { for (int i = 0; i < DIM; ++i)