]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix return value
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 13 Feb 2019 23:40:26 +0000 (00:40 +0100)
committerGiovanni Alzetta <giovannialzetta@hotmail.it>
Thu, 14 Feb 2019 23:54:40 +0000 (00:54 +0100)
include/deal.II/grid/grid_tools.h
source/grid/grid_tools.cc

index 809de1bccad4162b2397196f50788ae99857319d..d8e9050b414e0bc4a2006ea6127eee75e12a5d67 100644 (file)
@@ -765,10 +765,11 @@ namespace GridTools
    *
    * @code
    *   std::tuple<
-   *     std::vector<typename Triangulation<dim,
-   * spacedim>::active_cell_iterator>, std::vector<std::vector<Point<dim>>>,
-   *     std::vector<std::vector<unsigned int>>,
-   *     std::vector<unsigned int>>
+   *     std::vector<
+   *        typename Triangulation<dim,spacedim>::active_cell_iterator>,
+   *        std::vector<std::vector<Point<dim>>>,
+   *        std::vector<std::vector<unsigned int>>,
+   *        std::vector<unsigned int> >
    * @endcode
    *
    * For a more detailed documentation see
index bd97f63dc4b95982720394bb9003030448f84414..58d12d3a94fca95bb4d214afa9f941cc1a79435a 100644 (file)
@@ -4207,7 +4207,9 @@ namespace GridTools
 
     (void)missing_points;
 
-    return {std::move(cells), std::move(qpoints), std::move(maps)};
+    return std::make_tuple(std::move(cells),
+                           std::move(qpoints),
+                           std::move(maps));
   }
 
 

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.