From cfdd06c2bd8388581be15e2f8e825a7bb44341d9 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 14 Feb 2019 00:40:26 +0100 Subject: [PATCH] Fix return value --- include/deal.II/grid/grid_tools.h | 9 +++++---- source/grid/grid_tools.cc | 4 +++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/include/deal.II/grid/grid_tools.h b/include/deal.II/grid/grid_tools.h index 809de1bcca..d8e9050b41 100644 --- a/include/deal.II/grid/grid_tools.h +++ b/include/deal.II/grid/grid_tools.h @@ -765,10 +765,11 @@ namespace GridTools * * @code * std::tuple< - * std::vector::active_cell_iterator>, std::vector>>, - * std::vector>, - * std::vector> + * std::vector< + * typename Triangulation::active_cell_iterator>, + * std::vector>>, + * std::vector>, + * std::vector > * @endcode * * For a more detailed documentation see diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index bd97f63dc4..58d12d3a94 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -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)); } -- 2.39.5