From f276838a2358754273157540883dd3cecda878cc Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 3 Aug 2018 10:35:43 -0600 Subject: [PATCH] Make an argument a reference. --- include/deal.II/grid/grid_generator.h | 2 +- source/grid/grid_generator.cc | 2 +- source/grid/grid_generator.inst.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index dacbccb7ce..6908b05d85 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -1182,7 +1182,7 @@ namespace GridGenerator void merge_triangulations( const std::initializer_list *const> - triangulations, + & triangulations, Triangulation &result, const double duplicated_vertex_tolerance = 1.0e-12, const bool copy_manifold_ids = false); diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 89aec1b357..a8ad44864c 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -4141,7 +4141,7 @@ namespace GridGenerator void merge_triangulations( const std::initializer_list *const> - triangulations, + & triangulations, Triangulation &result, const double duplicated_vertex_tolerance, const bool copy_manifold_ids) diff --git a/source/grid/grid_generator.inst.in b/source/grid/grid_generator.inst.in index f2111171d1..0084a28512 100644 --- a/source/grid/grid_generator.inst.in +++ b/source/grid/grid_generator.inst.in @@ -73,7 +73,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) merge_triangulations( const std::initializer_list< const Triangulation - *const>, + *const> &, Triangulation &, const double, const bool); -- 2.39.5