From 7676362e9c34bdeea57612a22103461dbc6d5bfd Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 9 Jul 2019 14:59:24 -0400 Subject: [PATCH] Fix a few gcc-9 warninigs in tests --- tests/mpi/periodicity_06.cc | 2 +- tests/mpi/periodicity_07.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mpi/periodicity_06.cc b/tests/mpi/periodicity_06.cc index 9c4b960eca..062649ce08 100644 --- a/tests/mpi/periodicity_06.cc +++ b/tests/mpi/periodicity_06.cc @@ -134,7 +134,7 @@ test(const unsigned numRefinementLevels = 2) if (dist < 1e-08) cell->set_refine_flag(); } - catch (typename MappingQ1::ExcTransformationFailed) + catch (const typename MappingQ1::ExcTransformationFailed &) {} } triangulation.execute_coarsening_and_refinement(); diff --git a/tests/mpi/periodicity_07.cc b/tests/mpi/periodicity_07.cc index d7d0cc47fe..ba4d6c55c5 100644 --- a/tests/mpi/periodicity_07.cc +++ b/tests/mpi/periodicity_07.cc @@ -107,7 +107,7 @@ test(const unsigned numRefinementLevels = 2) if (dist < 1e-08) cell->set_refine_flag(); } - catch (typename MappingQ1::ExcTransformationFailed) + catch (const typename MappingQ1::ExcTransformationFailed &) {} } triangulation.execute_coarsening_and_refinement(); -- 2.39.5