From: Daniel Arndt Date: Thu, 4 Jun 2020 13:44:06 +0000 (-0400) Subject: Avoid std::initializer_list X-Git-Tag: v9.3.0-rc1~1491^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed2763435f75322575e014c703d923d42a4386e;p=dealii.git Avoid std::initializer_list --- diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 89c60745ad..bb8c84fce7 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -2701,7 +2701,7 @@ namespace internal /** * Invent an object which compares two - * std::initializer_list objects against each + * std::vector objects against each * other. This comparison is needed in order to establish a map of * vertex index tuples to iterators in the * Triangulation<3,3>::create_triangulation function. @@ -3052,7 +3052,7 @@ namespace internal // new one and instead // later set the // face_orientation flag - const std::initializer_list test_quad_1( + const std::vector test_quad_1( {quad[2], quad[3], quad[0], @@ -3242,7 +3242,7 @@ namespace internal // then. construct all // possibilities and check // them one after the other - const std::initializer_list test_quad_1( + const std::vector test_quad_1( {quad[2], quad[3], quad[0],