summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2007-11-07 16:14:29 -0330
committerBrent Eagles <brent@zeroc.com>2007-11-07 16:14:29 -0330
commit6b8ff6d37cf371740bc62b88dafb7c751fe43ff4 (patch)
treedb478fa8827fe2bd8537815e3e87e4ba29278fc7 /cpp/src/slice2cpp/Gen.cpp
parent- Moved cpp/slice to slice (diff)
downloadice-6b8ff6d37cf371740bc62b88dafb7c751fe43ff4.tar.bz2
ice-6b8ff6d37cf371740bc62b88dafb7c751fe43ff4.tar.xz
ice-6b8ff6d37cf371740bc62b88dafb7c751fe43ff4.zip
Fix VC60 windows build bugs.
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rwxr-xr-xcpp/src/slice2cpp/Gen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 2196a6953b5..7694559b5fd 100755
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -2999,9 +2999,9 @@ Slice::Gen::DelegateDVisitor::visitOperation(const OperationPtr& p)
C << eb;
C << nl << "__direct.destroy();";
C << eb;
- for(ExceptionList::const_iterator i = throws.begin(); i != throws.end(); ++i)
+ for(ExceptionList::const_iterator k = throws.begin(); k != throws.end(); ++k)
{
- C << nl << "catch(const " << fixKwd((*i)->scoped()) << "&)";
+ C << nl << "catch(const " << fixKwd((*k)->scoped()) << "&)";
C << sb;
C << nl << "throw;";
C << eb;