diff -r 914602e294be -r 15355b98fb84 test/bfs_test.cc --- a/test/bfs_test.cc Wed Jul 12 11:14:12 2006 +0000 +++ b/test/bfs_test.cc Wed Jul 12 11:40:52 2006 +0000 @@ -74,9 +74,10 @@ typedef Graph::NodeIt NodeIt; typedef concept::ReadMap LengthMap; - bfs(Graph(),Node()).run(); - bfs(Graph()).source(Node()).run(); - bfs(Graph()) + Graph g; + bfs(g,Node()).run(); + bfs(g).source(Node()).run(); + bfs(g) .predMap(concept::WriteMap()) .distMap(concept::WriteMap()) .reachedMap(concept::ReadWriteMap())