diff options
Diffstat (limited to 'cpp/src/Ice/BasicStream.cpp')
-rw-r--r-- | cpp/src/Ice/BasicStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/BasicStream.cpp b/cpp/src/Ice/BasicStream.cpp index 9b3bd735605..11a265767ba 100644 --- a/cpp/src/Ice/BasicStream.cpp +++ b/cpp/src/Ice/BasicStream.cpp @@ -1388,9 +1388,9 @@ IceInternal::BasicStream::read(vector<string>& v) { startSeq(sz, 1); v.resize(sz); - for(int i = 0; i < sz; ++i) + for(int j = 0; j < sz; ++j) { - read(v[i]); + read(v[j]); checkSeq(); endElement(); } |