From: bangerth Date: Wed, 14 Nov 2012 14:05:09 +0000 (+0000) Subject: Avoid warning about unused argument. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae0787129d323ed86a637ca983c0f3f175a6369c;p=dealii-svn.git Avoid warning about unused argument. git-svn-id: https://svn.dealii.org/trunk@27538 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_renumbering.cc b/deal.II/source/dofs/dof_renumbering.cc index 05f978abeb..7ec87f74a3 100644 --- a/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/source/dofs/dof_renumbering.cc @@ -2035,8 +2035,8 @@ namespace DoFRenumbering * Comparison operator for dim>=2 */ template - bool compare (const DHCellIterator& c1, - const DHCellIterator& c2, + bool compare (const DHCellIterator &c1, + const DHCellIterator &c2, dealii::internal::int2type) const { const Point v1 = c1->center() - center; @@ -2052,15 +2052,14 @@ namespace DoFRenumbering * where this function makes no sense */ template - 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; } - }; }