summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-10-08 15:59:56 +0000
committerMark Spruiell <mes@zeroc.com>2002-10-08 15:59:56 +0000
commit69b0065df1c4cdffa8490dff202c9021f09f912b (patch)
tree246fea31c63a410d86f1deedbc802129ae535902 /cpp/src/slice2java/Gen.cpp
parentMade _factory member of generated classes private. (diff)
downloadice-69b0065df1c4cdffa8490dff202c9021f09f912b.tar.bz2
ice-69b0065df1c4cdffa8490dff202c9021f09f912b.tar.xz
ice-69b0065df1c4cdffa8490dff202c9021f09f912b.zip
make _factory private
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r--cpp/src/slice2java/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index 16edaee1182..18149315339 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -1101,7 +1101,7 @@ Slice::Gen::TypesVisitor::visitClassDefStart(const ClassDefPtr& p)
out << sb;
out << eb;
out << eb;
- out << nl << "public static Ice.ObjectFactory _factory = new __F();";
+ out << nl << "private static Ice.ObjectFactory _factory = new __F();";
out << sp;
out << nl << "public static Ice.ObjectFactory" << nl << "ice_factory()";
out << sb;