From 2ed2763435f75322575e014c703d923d42a4386e Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 4 Jun 2020 09:44:06 -0400 Subject: [PATCH] Avoid std::initializer_list --- source/grid/tria.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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], -- 2.39.5