]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a few gcc-9 warninigs in tests 8362/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 9 Jul 2019 18:59:24 +0000 (14:59 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 9 Jul 2019 22:23:08 +0000 (18:23 -0400)
tests/mpi/periodicity_06.cc
tests/mpi/periodicity_07.cc

index 9c4b960eca47db03b7534a0fd5501ccfc5ca68f4..062649ce08fe493e5935a70127c83a1cfd18920f 100644 (file)
@@ -134,7 +134,7 @@ test(const unsigned numRefinementLevels = 2)
               if (dist < 1e-08)
                 cell->set_refine_flag();
             }
-          catch (typename MappingQ1<dim>::ExcTransformationFailed)
+          catch (const typename MappingQ1<dim>::ExcTransformationFailed &)
             {}
         }
       triangulation.execute_coarsening_and_refinement();
index d7d0cc47fee397ac1d2b1622afd9bfe8c5df8ed5..ba4d6c55c5eb58f29747a03ac990cd1fe45c9ccd 100644 (file)
@@ -107,7 +107,7 @@ test(const unsigned numRefinementLevels = 2)
               if (dist < 1e-08)
                 cell->set_refine_flag();
             }
-          catch (typename MappingQ1<dim>::ExcTransformationFailed)
+          catch (const typename MappingQ1<dim>::ExcTransformationFailed &)
             {}
         }
       triangulation.execute_coarsening_and_refinement();

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.