From: Daniel Arndt Date: Sun, 20 Sep 2020 12:29:32 +0000 (-0400) Subject: Fix some more gcc-10 warnings X-Git-Tag: v9.3.0-rc1~1097^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d94f9850bf0a36fc6213081b0c7fe6ba92fd7dc;p=dealii.git Fix some more gcc-10 warnings --- diff --git a/include/deal.II/distributed/cell_weights.h b/include/deal.II/distributed/cell_weights.h index 1ecfad304a..fa526704c5 100644 --- a/include/deal.II/distributed/cell_weights.h +++ b/include/deal.II/distributed/cell_weights.h @@ -286,11 +286,11 @@ namespace parallel */ static unsigned int weighting_callback( - const typename Triangulation::cell_iterator &cell, - const typename Triangulation::CellStatus status, - const DoFHandler & dof_handler, - const parallel::TriangulationBase & triangulation, - const WeightingFunction &weighting_function); + const typename dealii::Triangulation::cell_iterator &cell, + const typename dealii::Triangulation::CellStatus status, + const DoFHandler & dof_handler, + const parallel::TriangulationBase &triangulation, + const WeightingFunction & weighting_function); }; } // namespace parallel diff --git a/source/distributed/cell_weights.cc b/source/distributed/cell_weights.cc index c6d052f59a..72f0c0850f 100644 --- a/source/distributed/cell_weights.cc +++ b/source/distributed/cell_weights.cc @@ -162,10 +162,10 @@ namespace parallel template unsigned int CellWeights::weighting_callback( - const typename Triangulation::cell_iterator &cell_, - const typename Triangulation::CellStatus status, - const DoFHandler & dof_handler, - const parallel::TriangulationBase & triangulation, + const typename dealii::Triangulation::cell_iterator &cell_, + const typename dealii::Triangulation::CellStatus status, + const DoFHandler & dof_handler, + const parallel::TriangulationBase &triangulation, const typename CellWeights::WeightingFunction &weighting_function) {