1.1 --- a/lemon/concept/graph_components.h Tue Jul 11 16:09:49 2006 +0000
1.2 +++ b/lemon/concept/graph_components.h Wed Jul 12 10:34:07 2006 +0000
1.3 @@ -362,8 +362,8 @@
1.4
1.5 void constraints() {
1.6 checkConcept< BaseGraphComponent, _Graph >();
1.7 - typename _Graph::Node node;
1.8 - typename _Graph::Edge edge;
1.9 + typename _Graph::Node node(INVALID);
1.10 + typename _Graph::Edge edge(INVALID);
1.11 {
1.12 graph.first(node);
1.13 graph.next(node);
1.14 @@ -442,8 +442,8 @@
1.15 void constraints() {
1.16 checkConcept<Base, _Graph >();
1.17 checkConcept<BaseIterableGraphComponent<Base>, _Graph>();
1.18 - typename _Graph::Node node;
1.19 - typename _Graph::UEdge uedge;
1.20 + typename _Graph::Node node(INVALID);
1.21 + typename _Graph::UEdge uedge(INVALID);
1.22 bool dir;
1.23 {
1.24 graph.first(uedge);