From 11c994693438abb8c0fb63374020ce1ed1ffa0d8 Mon Sep 17 00:00:00 2001 From: Janis Born Date: Tue, 17 Nov 2015 11:37:23 +0100 Subject: [PATCH] fix generic VectorT ctor for non float-convertible scalar types --- src/OpenMesh/Core/Geometry/VectorT_inc.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenMesh/Core/Geometry/VectorT_inc.hh b/src/OpenMesh/Core/Geometry/VectorT_inc.hh index 89c0d6d7..97bc055f 100644 --- a/src/OpenMesh/Core/Geometry/VectorT_inc.hh +++ b/src/OpenMesh/Core/Geometry/VectorT_inc.hh @@ -104,7 +104,7 @@ public: template::type, - typename = typename std::enable_if::value>::type> + typename = typename std::enable_if::value>::type> constexpr VectorT(T... vs) : Base { static_cast(vs)...} { }