[Lemon-commits] [lemon_svn] alpar: r2157 - hugo/trunk/lemon/concept
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:50:36 CET 2006
Author: alpar
Date: Fri Aug 19 14:09:21 2005
New Revision: 2157
Modified:
hugo/trunk/lemon/concept/graph_component.h
Log:
Put an end to every gcc-4.0 warning.
Modified: hugo/trunk/lemon/concept/graph_component.h
==============================================================================
--- hugo/trunk/lemon/concept/graph_component.h (original)
+++ hugo/trunk/lemon/concept/graph_component.h Fri Aug 19 14:09:21 2005
@@ -177,7 +177,7 @@
checkConcept<GraphItem<'e'>, Edge>();
{
Node n;
- Edge e;
+ Edge e(INVALID);
n = graph.source(e);
n = graph.target(e);
}
@@ -718,8 +718,8 @@
checkConcept<GraphIncIterator<_Graph>, typename _Graph::InEdgeIt>();
checkConcept<GraphIncIterator<_Graph>, typename _Graph::OutEdgeIt>();
- typename _Graph::Node n;
- typename _Graph::Edge e;
+ typename _Graph::Node n(INVALID);
+ typename _Graph::Edge e(INVALID);
n = graph.oppositeNode(n, e);
}
More information about the Lemon-commits
mailing list