summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 034f34136f1..7d5421e0e1f 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -422,7 +422,7 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p)
H << sp << nl << "static const ::IceInternal::UserExceptionFactoryPtr& ice_factory();";
C << sp << nl << "const ::IceInternal::UserExceptionFactoryPtr&";
- C << nl << scoped << "::ice_factory()";
+ C << nl << scoped.substr(2) << "::ice_factory()";
C << sb;
C << nl << "return _factory;";
C << eb;