diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IcePatch2/Calc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePatch2/Calc.cpp b/cpp/src/IcePatch2/Calc.cpp index dfc7ac9637d..10dc84ef1d2 100644 --- a/cpp/src/IcePatch2/Calc.cpp +++ b/cpp/src/IcePatch2/Calc.cpp @@ -220,7 +220,7 @@ main(int argc, char* argv[]) string absDataDirWithSlash = absDataDir + '/'; - for(StringSeq::iterator p = fileSeq.begin(); p != fileSeq.end(); ++p) + for(p = fileSeq.begin(); p != fileSeq.end(); ++p) { if(p->compare(0, absDataDirWithSlash.size(), absDataDirWithSlash) != 0) { @@ -244,7 +244,7 @@ main(int argc, char* argv[]) { loadFileInfoSeq(absDataDir, infoSeq); - for(StringSeq::const_iterator p = fileSeq.begin(); p != fileSeq.end(); ++p) + for(p = fileSeq.begin(); p != fileSeq.end(); ++p) { FileInfoSeq partialInfoSeq; |