From 21cc0acab5ccf6aea1efca8582fdff0384709a98 Mon Sep 17 00:00:00 2001 From: Hans-Christian Ebke Date: Thu, 19 Nov 2015 11:09:53 +0100 Subject: [PATCH] C++11: Explicitly defined default copy/move c'tor and operator=. --- src/OpenMesh/Core/Geometry/Vector11T.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/OpenMesh/Core/Geometry/Vector11T.hh b/src/OpenMesh/Core/Geometry/Vector11T.hh index 3f3b212d..bdc9db25 100644 --- a/src/OpenMesh/Core/Geometry/Vector11T.hh +++ b/src/OpenMesh/Core/Geometry/Vector11T.hh @@ -125,6 +125,11 @@ class VectorT { constexpr VectorT(T... vs) : values_ { {static_cast(vs)...} } {} + VectorT(const VectorT &rhs) = default; + VectorT(VectorT &&rhs) = default; + VectorT &operator=(const VectorT &rhs) = default; + VectorT &operator=(VectorT &&rhs) = default; + /** * Only for 4-component vectors with division operator on their * Scalar: Dehomogenization.