1.1 --- a/lemon/path.h Wed Feb 07 18:07:10 2007 +0000
1.2 +++ b/lemon/path.h Sun Feb 11 16:34:51 2007 +0000
1.3 @@ -217,7 +217,7 @@
1.4 void buildRev(const CPath& path) {
1.5 int len = path.length();
1.6 head.reserve(len);
1.7 - for (typename CPath::RevIt it(path); it != INVALID; ++it) {
1.8 + for (typename CPath::RevEdgeIt it(path); it != INVALID; ++it) {
1.9 head.push_back(it);
1.10 }
1.11 }
1.12 @@ -375,7 +375,7 @@
1.13 int len = path.length();
1.14 data.resize(len);
1.15 int index = len;
1.16 - for (typename CPath::RevIt it(path); it != INVALID; ++it) {
1.17 + for (typename CPath::RevEdgeIt it(path); it != INVALID; ++it) {
1.18 --index;
1.19 data[index] = it;;
1.20 }
1.21 @@ -720,7 +720,7 @@
1.22
1.23 template <typename CPath>
1.24 void buildRev(const CPath& path) {
1.25 - for (typename CPath::RevIt it(path); it != INVALID; ++it) {
1.26 + for (typename CPath::RevEdgeIt it(path); it != INVALID; ++it) {
1.27 addFront(it);
1.28 }
1.29 }
1.30 @@ -881,7 +881,7 @@
1.31 len = path.length();
1.32 edges = new Edge[len];
1.33 int index = len;
1.34 - for (typename CPath::RevIt it(path); it != INVALID; ++it) {
1.35 + for (typename CPath::RevEdgeIt it(path); it != INVALID; ++it) {
1.36 --index;
1.37 edges[index] = it;
1.38 }