From: bangerth Date: Thu, 1 Nov 2012 02:34:27 +0000 (+0000) Subject: Remove a workaround for an old compiler problem. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc869d19ecb7c6e09e2607e920c118eaa5d2aad7;p=dealii-svn.git Remove a workaround for an old compiler problem. git-svn-id: https://svn.dealii.org/trunk@27279 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 }