summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r--cpp/src/slice2java/Gen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index 1b4f40edf09..64870af0e4f 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -4447,9 +4447,9 @@ Slice::Gen::DelegateDVisitor::visitClassDefStart(const ClassDefPtr& p)
out << sb;
out << nl << "__direct.destroy();";
out << eb;
- for(ExceptionList::const_iterator t = throws.begin(); t != throws.end(); ++t)
+ for(ExceptionList::const_iterator k = throws.begin(); k != throws.end(); ++k)
{
- string exS = getAbsolute(*t, package);
+ string exS = getAbsolute(*k, package);
out << nl << "catch(" << exS << " __ex)";
out << sb;
out << nl << "throw __ex;";