fixed a little const-ness problem
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Tue, 14 Aug 2001 21:23:36 +0000 (21:23 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Tue, 14 Aug 2001 21:23:36 +0000 (21:23 +0000)
check/time_antipode.cpp

index 2d64bee..712b90b 100644 (file)
@@ -442,7 +442,7 @@ static const node tree6(unsigned cuts=0)
                        bool(cuts & 16)));
 }
 
-static unsigned test_tree(node (*tree_generator)(unsigned=0))
+static unsigned test_tree(const node (*tree_generator)(unsigned=0))
 {
        const int edges = tree_generator().total_edges();
        const int vertices = edges+1;