summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-09-29 00:04:40 +0000
committerMark Spruiell <mes@zeroc.com>2004-09-29 00:04:40 +0000
commit0b4a19cbac9078f918a6fef317b3f52e3461df8e (patch)
tree39fe39d5e31b0e2c88a5a7b0d3449383c7dbe2fa /cpp/src/slice2cpp/Gen.cpp
parentmap away checkedCast, uncheckedCast (diff)
downloadice-0b4a19cbac9078f918a6fef317b3f52e3461df8e.tar.bz2
ice-0b4a19cbac9078f918a6fef317b3f52e3461df8e.tar.xz
ice-0b4a19cbac9078f918a6fef317b3f52e3461df8e.zip
bug fix for ice_factory()
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;