From: Wolfgang Bangerth Date: Wed, 14 Nov 2012 14:05:09 +0000 (+0000) Subject: Avoid warning about unused argument. X-Git-Tag: v8.0.0~1824 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f0961e807aeb25822fcd9aa3125cf2a7dcf7698;p=dealii.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; } - }; }