diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-12-13 15:01:36 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-12-13 15:01:36 +0000 |
commit | 4835a16f5931d2129eb058a159932155ef86d5d1 (patch) | |
tree | 621cb4ce4c72954efdb3040d9398558953080539 /cpp/src/IceGrid/Parser.cpp | |
parent | Bug 1570 - object adapter configuration (diff) | |
download | ice-4835a16f5931d2129eb058a159932155ef86d5d1.tar.bz2 ice-4835a16f5931d2129eb058a159932155ef86d5d1.tar.xz ice-4835a16f5931d2129eb058a159932155ef86d5d1.zip |
Win32 fix
Diffstat (limited to 'cpp/src/IceGrid/Parser.cpp')
-rw-r--r-- | cpp/src/IceGrid/Parser.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/Parser.cpp b/cpp/src/IceGrid/Parser.cpp index e697102a3a3..27a6df6fbc0 100644 --- a/cpp/src/IceGrid/Parser.cpp +++ b/cpp/src/IceGrid/Parser.cpp @@ -1323,8 +1323,9 @@ Parser::dumpFile(const string& reader, const list<string>& origArgs) try { - string id = *(args.begin()); - string filename = *(++args.begin()); + vector<string>::const_iterator p = args.begin(); + string id = *p++; + string filename = *p++; cout << reader << " `" << id << "' " << filename << ": " << flush; Ice::StringSeq lines; |