From fdd9a3a4707ecab7d0781ce74cbc5888856f02d5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 1 Nov 2012 02:34:27 +0000 Subject: [PATCH] Remove a workaround for an old compiler problem. git-svn-id: https://svn.dealii.org/trunk@27279 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_renumbering.cc | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/deal.II/source/dofs/dof_renumbering.cc b/deal.II/source/dofs/dof_renumbering.cc index 302f2d4cd6..2a0085e850 100644 --- a/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/source/dofs/dof_renumbering.cc @@ -127,7 +127,6 @@ namespace DoFRenumbering namespace boost { -#ifndef DEAL_II_BOOST_GRAPH_COMPILER_BUG namespace types { using namespace ::boost; @@ -176,7 +175,6 @@ namespace DoFRenumbering graph_degree[*ui] = degree(*ui, graph); } } -#endif template @@ -204,16 +202,6 @@ namespace DoFRenumbering const bool reversed_numbering, const bool use_constraints) { -#ifdef DEAL_II_BOOST_GRAPH_COMPILER_BUG - (void)new_dof_indices; - (void)dof_handler; - (void)reversed_numbering; - (void)use_constraints; - Assert (false, - ExcMessage ("Due to a bug in your compiler, this function triggers an internal " - "compiler error and has been disabled. If you need to use the " - "function, you need to upgrade to a newer version of the compiler.")); -#else types::Graph graph(dof_handler.n_dofs()); types::property_map::type @@ -242,7 +230,6 @@ namespace DoFRenumbering Assert (std::find (new_dof_indices.begin(), new_dof_indices.end(), DH::invalid_dof_index) == new_dof_indices.end(), ExcInternalError()); -#endif } @@ -272,16 +259,6 @@ namespace DoFRenumbering const bool reversed_numbering, const bool use_constraints) { -#ifdef DEAL_II_BOOST_GRAPH_COMPILER_BUG - (void)new_dof_indices; - (void)dof_handler; - (void)reversed_numbering; - (void)use_constraints; - Assert (false, - ExcMessage ("Due to a bug in your compiler, this function triggers an internal " - "compiler error and has been disabled. If you need to use the " - "function, you need to upgrade to a newer version of the compiler.")); -#else types::Graph graph(dof_handler.n_dofs()); types::property_map::type @@ -306,7 +283,6 @@ namespace DoFRenumbering Assert (std::find (new_dof_indices.begin(), new_dof_indices.end(), DH::invalid_dof_index) == new_dof_indices.end(), ExcInternalError()); -#endif } -- 2.39.5