From 13f4fd6d3cc5a044db66d9c25319419bb4ede5fa Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 20 Jan 2016 10:36:51 +0100 Subject: ice_name/ice_id fixes & simplifications. --- cpp/src/slice2cpp/Gen.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index bdc5e986be7..c496fec26e4 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -982,13 +982,6 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p) C << scoped.substr(2) << "::~" << name << "() throw()"; C << sb; C << eb; - - H << nl << "ICE_DEPRECATED_API(\"ice_name() is deprecated, use ice_id() instead.\")"; - H << nl << "virtual ::std::string ice_name() const;"; - C << sp << nl << "::std::string" << nl << scoped.substr(2) << "::ice_name() const"; - C << sb; - C << nl << "return \"" << p->scoped().substr(2) << "\";"; - C << eb; H << nl << "virtual ::std::string ice_id() const;"; C << sp << nl << "::std::string" << nl << scoped.substr(2) << "::ice_id() const"; -- cgit v1.2.3