From 93ab5a8f08970ad49c6f973b965b8fbefb63882f Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 8 Jan 2016 21:10:14 +0100 Subject: C++11 fix Exception::ice_clone to use exception_ptr --- cpp/src/slice2cpp/Gen.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 2a0bef6063c..4ee33bada58 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -5654,12 +5654,6 @@ Slice::Gen::Cpp11TypesVisitor::visitExceptionStart(const ExceptionPtr& p) H << nl << "virtual void ice_print(::std::ostream&) const;"; } - H << nl << "virtual " << name << "* ice_clone() const;"; - C << sp << nl << scoped.substr(2) << "*" << nl << scoped.substr(2) << "::ice_clone() const"; - C << sb; - C << nl << "return new " << name << "(*this);"; - C << eb; - H << nl << "virtual void ice_throw() const;"; C << sp << nl << "void" << nl << scoped.substr(2) << "::ice_throw() const"; C << sb; -- cgit v1.2.3