From: Wolfgang Bangerth Date: Fri, 3 Aug 2018 16:35:43 +0000 (-0600) Subject: Make an argument a reference. X-Git-Tag: v9.1.0-rc1~849^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7025%2Fhead;p=dealii.git Make an argument a reference. --- 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);