diff options
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rwxr-xr-x | cpp/src/slice2cpp/Gen.cpp | 4 |
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; |