From: Bruno Turcksin Date: Tue, 15 Feb 2022 19:03:05 +0000 (+0000) Subject: Fix warning about extra {} X-Git-Tag: v9.4.0-rc1~428^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc879b7bdc51560f834d67295ca38f8c5d1c39b7;p=dealii.git Fix warning about extra {} --- 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])}; }