]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Work on warning
authorPeter Munch <peterrmuench@gmail.com>
Wed, 4 Oct 2023 13:23:02 +0000 (15:23 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Wed, 4 Oct 2023 13:23:02 +0000 (15:23 +0200)
include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h

index 629492ddf0214eb779c1df87ccb1b44add376df6..1246de1c7badb04b195adc44b8575f99ab7a9d74 100644 (file)
@@ -4143,7 +4143,9 @@ void
 MGTransferMF<dim, Number>::fill_and_communicate_copy_indices_global_coarsening(
   const DoFHandler<dim> &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<dim, Number>::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

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.