From ad6eab8bee3dc1191f356de568eb095643fcbd45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 8 May 2018 15:33:26 +0200 Subject: [PATCH] Fixed clang warning --- src/Unittests/unittests_common_customtraits.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Unittests/unittests_common_customtraits.hh b/src/Unittests/unittests_common_customtraits.hh index bb3ec8f8..8bcdd918 100644 --- a/src/Unittests/unittests_common_customtraits.hh +++ b/src/Unittests/unittests_common_customtraits.hh @@ -13,7 +13,7 @@ template class Vec { // Constructor with DIM components Vec(float x) : data({ x }) {} Vec(float x, float y) : data({ x, y }) {} - Vec(float x, float y, float z) : data({ x, y, z }) {} + Vec(float x, float y, float z) : data({{ x, y, z }}) {} Vec(float x, float y, float z, float w) : data({ x, y, z, w }) {} Vec() = default;