diff --git a/src/OpenMesh/Core/Geometry/Vector11T.hh b/src/OpenMesh/Core/Geometry/Vector11T.hh index bb38813e..03a61ba2 100644 --- a/src/OpenMesh/Core/Geometry/Vector11T.hh +++ b/src/OpenMesh/Core/Geometry/Vector11T.hh @@ -170,8 +170,9 @@ class VectorT { } /// construct from an array - explicit VectorT(container&& _array) { - values_ = _array; + explicit VectorT(container&& _array) : + values_(_array) + { } /// copy & cast constructor (explicit)