From 41d6176c3ba17630fd65dd72f313b07f816c73fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 22 Aug 2023 16:40:33 +0200 Subject: [PATCH] Fixed cppcheck warning --- src/OpenMesh/Core/Geometry/Vector11T.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)