]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make an argument a reference. 7025/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 3 Aug 2018 16:35:43 +0000 (10:35 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 3 Aug 2018 16:35:43 +0000 (10:35 -0600)
include/deal.II/grid/grid_generator.h
source/grid/grid_generator.cc
source/grid/grid_generator.inst.in

index dacbccb7ce283d56d0346dcd54c49fc25750c5cd..6908b05d8572ed909a145f9b29d1cb31d77183c5 100644 (file)
@@ -1182,7 +1182,7 @@ namespace GridGenerator
   void
   merge_triangulations(
     const std::initializer_list<const Triangulation<dim, spacedim> *const>
-                                  triangulations,
+      &                           triangulations,
     Triangulation<dim, spacedim> &result,
     const double                  duplicated_vertex_tolerance = 1.0e-12,
     const bool                    copy_manifold_ids           = false);
index 89aec1b3579f0a69651e5eff944e3e00975eb92a..a8ad44864c7734b28f7c7c09a676551958c9c0fc 100644 (file)
@@ -4141,7 +4141,7 @@ namespace GridGenerator
   void
   merge_triangulations(
     const std::initializer_list<const Triangulation<dim, spacedim> *const>
-                                  triangulations,
+      &                           triangulations,
     Triangulation<dim, spacedim> &result,
     const double                  duplicated_vertex_tolerance,
     const bool                    copy_manifold_ids)
index f2111171d1243dc94a174424dc3ed0acd1917f2f..0084a285121079791286b0ae5da760438277f3fc 100644 (file)
@@ -73,7 +73,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
       merge_triangulations(
         const std::initializer_list<
           const Triangulation<deal_II_dimension, deal_II_space_dimension>
-            *const>,
+            *const> &,
         Triangulation<deal_II_dimension, deal_II_space_dimension> &,
         const double,
         const bool);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.