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 e0633bcc1be..d5a8956bf92 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -3335,7 +3335,7 @@ Slice::Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p)
bool override = p->canBeCyclic() && (!hasBaseClass || !bases.front()->canBeCyclic());
if(!basePreserved && (override || preserved))
{
- H << ", private IceInternal::GCShared";
+ H << ", public IceInternal::GCShared";
}
H.restoreIndent();