summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cppe/Gen.cpp')
-rw-r--r--cpp/src/slice2cppe/Gen.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpp/src/slice2cppe/Gen.cpp b/cpp/src/slice2cppe/Gen.cpp
index 32757b02a76..703965d4f70 100644
--- a/cpp/src/slice2cppe/Gen.cpp
+++ b/cpp/src/slice2cppe/Gen.cpp
@@ -503,7 +503,6 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p)
}
H << allTypes << epar << ';';
}
- H << nl << "virtual ~" << name << "() throw();";
H << sp;
if(p->isLocal())
@@ -570,11 +569,6 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p)
C << eb;
}
- C << sp << nl;
- C << scoped.substr(2) << "::~" << name << "() throw()";
- C << sb;
- C << eb;
-
H << nl << "virtual ::std::string ice_name() const;";
string flatName = p->flattenedScope() + p->name() + "_name";