From dc879b7bdc51560f834d67295ca38f8c5d1c39b7 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Tue, 15 Feb 2022 19:03:05 +0000 Subject: [PATCH] Fix warning about extra {} --- source/arborx/access_traits.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/arborx/access_traits.cc b/source/arborx/access_traits.cc index e94b058423..c8b3d3473d 100644 --- a/source/arborx/access_traits.cc +++ b/source/arborx/access_traits.cc @@ -171,9 +171,9 @@ namespace ArborX { // ArborX assumes that the point coordinates use float and that the point // is 3D - return {{static_cast(v[i][0]), - static_cast(v[i][1]), - dim == 2 ? 0 : static_cast(v[i][2])}}; + return {static_cast(v[i][0]), + static_cast(v[i][1]), + dim == 2 ? 0 : static_cast(v[i][2])}; } -- 2.39.5