diff options
author | Matthew Newhook <matthew@zeroc.com> | 2002-01-31 15:14:28 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2002-01-31 15:14:28 +0000 |
commit | 4b640faae2b29cd8d6cb97471cd37b3ce1334cfc (patch) | |
tree | faaaee334a396fc1c6e534e58bbfc7e9077065b1 /cpp/src/slice2xsd/Gen.cpp | |
parent | Move Slice/OutputUtil to IceUtil. (diff) | |
download | ice-4b640faae2b29cd8d6cb97471cd37b3ce1334cfc.tar.bz2 ice-4b640faae2b29cd8d6cb97471cd37b3ce1334cfc.tar.xz ice-4b640faae2b29cd8d6cb97471cd37b3ce1334cfc.zip |
WIN32 updates.
Diffstat (limited to 'cpp/src/slice2xsd/Gen.cpp')
-rw-r--r-- | cpp/src/slice2xsd/Gen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/slice2xsd/Gen.cpp b/cpp/src/slice2xsd/Gen.cpp index 3be35f715c9..78f0754d1b3 100644 --- a/cpp/src/slice2xsd/Gen.cpp +++ b/cpp/src/slice2xsd/Gen.cpp @@ -265,7 +265,8 @@ Slice::Gen::visitOperation(const OperationPtr& p) annotate("operation"); O << se("xs:sequence"); - for (TypeStringList::const_iterator q = in.begin(); q != in.end(); ++q) + TypeStringList::const_iterator q; + for (q = in.begin(); q != in.end(); ++q) { O << nl << "<xs:element name=\"" << q->second << "\" type=\""; O << toString(q->first); @@ -291,7 +292,7 @@ Slice::Gen::visitOperation(const OperationPtr& p) { O << nl << "<xs:element name=\"__return\" type=\"" << toString(ret) << "\"/>"; } - for (TypeStringList::const_iterator q = out.begin(); q != out.end(); ++q) + for (q = out.begin(); q != out.end(); ++q) { O << nl << "<xs:element name=\"" << q->second << "\" type=\""; O << toString(q->first); |