]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix some more gcc-10 warnings 10938/head
authorDaniel Arndt <arndtd@ornl.gov>
Sun, 20 Sep 2020 12:29:32 +0000 (08:29 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Sun, 20 Sep 2020 12:29:32 +0000 (08:29 -0400)
include/deal.II/distributed/cell_weights.h
source/distributed/cell_weights.cc

index 1ecfad304a0b45fc72be5bbb9f46037d57f280c2..fa526704c5940aed7723131c5810b08fb277b27a 100644 (file)
@@ -286,11 +286,11 @@ namespace parallel
      */
     static unsigned int
     weighting_callback(
-      const typename Triangulation<dim, spacedim>::cell_iterator &cell,
-      const typename Triangulation<dim, spacedim>::CellStatus     status,
-      const DoFHandler<dim, spacedim> &                           dof_handler,
-      const parallel::TriangulationBase<dim, spacedim> &          triangulation,
-      const WeightingFunction &weighting_function);
+      const typename dealii::Triangulation<dim, spacedim>::cell_iterator &cell,
+      const typename dealii::Triangulation<dim, spacedim>::CellStatus status,
+      const DoFHandler<dim, spacedim> &                 dof_handler,
+      const parallel::TriangulationBase<dim, spacedim> &triangulation,
+      const WeightingFunction &                         weighting_function);
   };
 } // namespace parallel
 
index c6d052f59a95fcc35f0721d9ac5b7c161d3dd887..72f0c0850f6ed79712beed1f4fcac0ee180b685d 100644 (file)
@@ -162,10 +162,10 @@ namespace parallel
   template <int dim, int spacedim>
   unsigned int
   CellWeights<dim, spacedim>::weighting_callback(
-    const typename Triangulation<dim, spacedim>::cell_iterator &cell_,
-    const typename Triangulation<dim, spacedim>::CellStatus     status,
-    const DoFHandler<dim, spacedim> &                           dof_handler,
-    const parallel::TriangulationBase<dim, spacedim> &          triangulation,
+    const typename dealii::Triangulation<dim, spacedim>::cell_iterator &cell_,
+    const typename dealii::Triangulation<dim, spacedim>::CellStatus     status,
+    const DoFHandler<dim, spacedim> &                 dof_handler,
+    const parallel::TriangulationBase<dim, spacedim> &triangulation,
     const typename CellWeights<dim, spacedim>::WeightingFunction
       &weighting_function)
   {

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.