]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warning about unused argument.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 14 Nov 2012 14:05:09 +0000 (14:05 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 14 Nov 2012 14:05:09 +0000 (14:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@27538 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_renumbering.cc

index 05f978abeb4e9258040a88c6f283e69698d7b7a6..7ec87f74a353ec5ae03e9405a3b33addc6611fc5 100644 (file)
@@ -2035,8 +2035,8 @@ namespace DoFRenumbering
                                           * Comparison operator for dim>=2
                                           */
         template <class DHCellIterator, int xdim>
-        bool compare (const DHCellIteratorc1,
-                     const DHCellIteratorc2,
+        bool compare (const DHCellIterator &c1,
+                     const DHCellIterator &c2,
                      dealii::internal::int2type<xdim>) const
          {
             const Point<dim> v1 = c1->center() - center;
@@ -2052,15 +2052,14 @@ namespace DoFRenumbering
                                           * where this function makes no sense
                                           */
         template <class DHCellIterator>
-        bool compare (const DHCellIterator& c1,
-                     const DHCellIterator& c2,
+        bool compare (const DHCellIterator &,
+                     const DHCellIterator &,
                      dealii::internal::int2type<1>) const
          {
            Assert (dim >= 2,
                    ExcMessage ("This operation only makes sense for dim>=2."));
            return false;
           }
-
     };
   }
 

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.