diff --git a/src/OpenMesh/Core/Geometry/Vector11T.hh b/src/OpenMesh/Core/Geometry/Vector11T.hh index 74bd21a0..acd0e11a 100644 --- a/src/OpenMesh/Core/Geometry/Vector11T.hh +++ b/src/OpenMesh/Core/Geometry/Vector11T.hh @@ -628,7 +628,8 @@ class VectorT { } /// swap with another vector - void swap(VectorT& _other) noexcept(noexcept(std::swap(values_, _other.values_))) { + void swap(VectorT& _other) + noexcept(noexcept(std::swap(values_, _other.values_))) { std::swap(values_, _other.values_); } @@ -712,8 +713,7 @@ cross(const VectorT& _v1, const VectorT& _v2) -> /// non-member swap template void swap(VectorT& _v1, VectorT& _v2) -noexcept(noexcept(_v1.swap(_v2))) -{ +noexcept(noexcept(_v1.swap(_v2))) { _v1.swap(_v2); }