From ae0787129d323ed86a637ca983c0f3f175a6369c Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 14 Nov 2012 14:05:09 +0000 Subject: [PATCH] Avoid warning about unused argument. git-svn-id: https://svn.dealii.org/trunk@27538 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_renumbering.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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; } - }; } -- 2.39.5