... | ... |
@@ -1172,4 +1172,4 @@ |
1172 | 1172 |
/// connects nodes \c u and \c v. |
1173 |
ConEdgeIt(const Graph& g, Node u, Node v) : _graph(g) { |
|
1174 |
Parent::operator=(findEdge(_graph, u, v)); |
|
1173 |
ConEdgeIt(const Graph& g, Node u, Node v) : _graph(g), _u(u), _v(v) { |
|
1174 |
Parent::operator=(findEdge(_graph, _u, _v)); |
|
1175 | 1175 |
} |
... | ... |
@@ -1185,4 +1185,3 @@ |
1185 | 1185 |
ConEdgeIt& operator++() { |
1186 |
Parent::operator=(findEdge(_graph, _graph.u(*this), |
|
1187 |
_graph.v(*this), *this)); |
|
1186 |
Parent::operator=(findEdge(_graph, _u, _v, *this)); |
|
1188 | 1187 |
return *this; |
... | ... |
@@ -1191,2 +1190,3 @@ |
1191 | 1190 |
const Graph& _graph; |
1191 |
Node _u, _v; |
|
1192 | 1192 |
}; |
0 comments (0 inline)