From: Peter Munch Date: Wed, 4 Oct 2023 13:23:02 +0000 (+0200) Subject: Work on warning X-Git-Tag: relicensing~413^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c0ec45ced4588844edc54ac60ccf4bdd6e6c2ee;p=dealii.git Work on warning --- diff --git a/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h b/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h index 629492ddf0..1246de1c7b 100644 --- a/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h +++ b/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h @@ -4143,7 +4143,9 @@ void MGTransferMF::fill_and_communicate_copy_indices_global_coarsening( const DoFHandler &dof_handler_out) { - const auto [dof_handler_in, level_in] = get_dof_handler_fine(); + const auto dof_handler_and_level_in = get_dof_handler_fine(); + const auto dof_handler_in = dof_handler_and_level_in.first; + const auto level_in = dof_handler_and_level_in.second; if ((dof_handler_in == nullptr) || (dof_handler_in == &dof_handler_out)) return; // nothing to do @@ -4407,7 +4409,9 @@ MGTransferMF::assert_dof_handler( (void)dof_handler_out; #else - const auto [dof_handler_in, level_in] = get_dof_handler_fine(); + const auto dof_handler_and_level_in = get_dof_handler_fine(); + const auto dof_handler_in = dof_handler_and_level_in.first; + const auto level_in = dof_handler_and_level_in.second; if ((dof_handler_out.n_dofs() == 0) || // dummy DoFHandler (dof_handler_in == nullptr) || // single level