Changeset 844:9bf990cb066d in lemon-0.x for src/hugo/list_graph.h
- Timestamp:
- 09/13/04 22:05:13 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1143
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hugo/list_graph.h
r827 r844 1115 1115 OutEdgeIt(const EdgeSet& _G,const Node v) : 1116 1116 Edge(_G.nodes[v].first_out), G(&_G) { } 1117 OutEdgeIt &operator++() { n = G->edges[n].next_out; return *this; } 1117 OutEdgeIt &operator++() { 1118 Edge::n = G->edges[Edge::n].next_out; 1119 return *this; 1120 } 1118 1121 }; 1119 1122 … … 1127 1130 InEdgeIt(const EdgeSet& _G,Node v) 1128 1131 : Edge(_G.nodes[v].first_in), G(&_G) { } 1129 InEdgeIt &operator++() { n=G->edges[n].next_in; return *this; } 1132 InEdgeIt &operator++() { 1133 Edge::n = G->edges[Edge::n].next_in; 1134 return *this; 1135 } 1130 1136 }; 1131 1137
Note: See TracChangeset
for help on using the changeset viewer.