]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a workaround for an old compiler problem.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 1 Nov 2012 02:34:27 +0000 (02:34 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 1 Nov 2012 02:34:27 +0000 (02:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@27279 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_renumbering.cc

index 302f2d4cd6e1ef0c756700c5056570b4cb9b50dc..2a0085e8509eeb6905cb399dae364651de2950c0 100644 (file)
@@ -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 <class DH>
@@ -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<types::Graph,types::vertex_degree_t>::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<types::Graph,types::vertex_degree_t>::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
     }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.