From aeb0e179edd30e295617635ea8b0c301e7a5c011 Mon Sep 17 00:00:00 2001 From: Niklas Fehn Date: Wed, 18 Mar 2020 08:33:04 +0100 Subject: [PATCH] merge_triangulations(): replace std::initializer_list by std::vector --- source/grid/grid_generator.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index ca7eaed285..67d47f7d85 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -5726,11 +5726,10 @@ namespace GridGenerator template void merge_triangulations( - const std::initializer_list *const> - & triangulations, - Triangulation &result, - const double duplicated_vertex_tolerance, - const bool copy_manifold_ids) + const std::vector *> &triangulations, + Triangulation & result, + const double duplicated_vertex_tolerance, + const bool copy_manifold_ids) { std::vector> vertices; std::vector> cells; -- 2.39.5