]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Try to make older gccs happy.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 30 Sep 2013 13:32:52 +0000 (13:32 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 30 Sep 2013 13:32:52 +0000 (13:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@31030 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/graph_coloring_01.cc
tests/base/graph_coloring_02.cc
tests/base/graph_coloring_03.cc

index 9a0a79d74543466268acaf7952484d18290c55e9..19f4c34226e651ef0421089751e2fc2778dd8dd7 100644 (file)
@@ -59,7 +59,7 @@ void check()
   std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring(
       graph_coloring::make_graph_coloring(cell,dof_handler.end(),
       std_cxx1x::function<std::vector<types::global_dof_index> (typename 
-        DoFHandler<dim>::active_cell_iterator const &)> (get_conflict_indices_cfem<dim>)));      
+        DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));      
 
   // Output the coloring
   for (unsigned int color=0; color<coloring.size(); ++color)
index 56aae036ea7d7e2fe6cf0426c8f5377cb581e6b5..63859908b176243cf4d7b9b6b79fdc19965f80e6 100644 (file)
@@ -69,7 +69,7 @@ void check()
   std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring(
       graph_coloring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
         std_cxx1x::function<std::vector<types::global_dof_index> (typename 
-          DoFHandler<dim>::active_cell_iterator const &)> (get_conflict_indices_cfem<dim>)));
+          DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
 
   // Output the coloring
   for (unsigned int color=0; color<coloring.size(); ++color)
index 812bb7fdf9743e0cc6427d2baaf618cf7cca89cc..00f751270824e1b6b39abc47ec6053d3748405a0 100644 (file)
@@ -71,7 +71,7 @@ void check()
   std::vector<std::vector<typename hp::DoFHandler<dim>::active_cell_iterator> > coloring(
       graph_coloring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
         std_cxx1x::function<std::vector<types::global_dof_index> (typename 
-          hp::DoFHandler<dim>::active_cell_iterator const &)> (get_conflict_indices_cfem<dim>)));
+          hp::DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
 
   // Output the coloring
   for (unsigned int color=0; color<coloring.size(); ++color)

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.