From 75ac12c02d537f38b03567e406cbeccf29226fe0 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 28 Jun 2002 19:20:18 +0000 Subject: Merged location branch. --- cpp/src/slice2cpp/Gen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index c78b5252965..5309d054b4c 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -1193,11 +1193,11 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p) C << nl << "int __cnt = 0;"; C << nl << "while(true)"; C << sb; + C << nl << "try"; + C << sb; C << nl << "::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase = __getDelegate();"; C << nl << "::IceDelegate" << scope.substr(0, scope.size() - 2) << "* __del = dynamic_cast< ::IceDelegate" << scope.substr(0, scope.size() - 2) << "*>(__delBase.get());"; - C << nl << "try"; - C << sb; C << nl; if(ret) { -- cgit v1.2.3