summaryrefslogtreecommitdiff
path: root/cpp/src/slice2js
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2js')
-rw-r--r--cpp/src/slice2js/Gen.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpp/src/slice2js/Gen.cpp b/cpp/src/slice2js/Gen.cpp
index 7a64790d4df..fe065f66f36 100644
--- a/cpp/src/slice2js/Gen.cpp
+++ b/cpp/src/slice2js/Gen.cpp
@@ -1512,12 +1512,6 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p)
_out << nl << "return \"" << p->scoped() << "\";";
_out << eb;
- _out << sp;
- _out << nl << "ice_name()";
- _out << sb;
- _out << nl << "return \"" << p->scoped().substr(2) << "\";";
- _out << eb;
-
// TODO: equals?
if(!p->isLocal())