diff options
author | Michi Henning <michi@zeroc.com> | 2003-05-19 02:14:18 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-05-19 02:14:18 +0000 |
commit | d17fb4c0066fea23e9fde8ea4275a25b5402a307 (patch) | |
tree | 5a4ee53e07dc6f7544608d0c3289f6237f5812e2 /cpp/src/Slice/Parser.cpp | |
parent | - Fixed a bug in the code generator for dictionaries with class values. (diff) | |
download | ice-d17fb4c0066fea23e9fde8ea4275a25b5402a307.tar.bz2 ice-d17fb4c0066fea23e9fde8ea4275a25b5402a307.tar.xz ice-d17fb4c0066fea23e9fde8ea4275a25b5402a307.zip |
Fixed incorrect scope of iterator for for loop for VC6.
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 7fe8e45200e..869b9ba115f 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -2270,9 +2270,9 @@ Slice::ClassDef::allClassDataMembers() const // // Append this class's class members. // - for(ContainedList::const_iterator p = _contents.begin(); p != _contents.end(); ++p) + for(ContainedList::const_iterator it = _contents.begin(); it != _contents.end(); ++it) { - DataMemberPtr q = DataMemberPtr::dynamicCast(*p); + DataMemberPtr q = DataMemberPtr::dynamicCast(*it); if(q) { BuiltinPtr builtin = BuiltinPtr::dynamicCast(q->type()); |