summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2003-02-07 01:12:31 +0000
committerMichi Henning <michi@zeroc.com>2003-02-07 01:12:31 +0000
commit8863146bf03ef94b4b8867860dc0f40e25fb94ae (patch)
treeb4d62d96f9c9d00560d876cc63f1e6da63ab26bb /cpp/src/slice2java/Gen.cpp
parentUnderscores in Slice identifiers now create an error instead of a warning. (diff)
downloadice-8863146bf03ef94b4b8867860dc0f40e25fb94ae.tar.bz2
ice-8863146bf03ef94b4b8867860dc0f40e25fb94ae.tar.xz
ice-8863146bf03ef94b4b8867860dc0f40e25fb94ae.zip
Forgot to make the _FooOperations change for ties. Fixed now.
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r--cpp/src/slice2java/Gen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index 383ffc8b398..6b6323fb71e 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -964,17 +964,17 @@ Slice::Gen::TieVisitor::visitClassDefStart(const ClassDefPtr& p)
out << sb;
out << eb;
- out << sp << nl << "public" << nl << name << "Tie(" << name << "Operations delegate)";
+ out << sp << nl << "public" << nl << name << "Tie(_" << name << "Operations delegate)";
out << sb;
out << nl << "_ice_delegate = delegate;";
out << eb;
- out << sp << nl << "public " << name << "Operations" << nl << "ice_delegate()";
+ out << sp << nl << "public _" << name << "Operations" << nl << "ice_delegate()";
out << sb;
out << nl << "return _ice_delegate;";
out << eb;
- out << sp << nl << "public void" << nl << "ice_delegate(" << name << "Operations delegate)";
+ out << sp << nl << "public void" << nl << "ice_delegate(_" << name << "Operations delegate)";
out << sb;
out << nl << "_ice_delegate = delegate;";
out << eb;
@@ -1044,7 +1044,7 @@ Slice::Gen::TieVisitor::visitClassDefStart(const ClassDefPtr& p)
out << eb;
}
- out << sp << nl << "private " << name << "Operations _ice_delegate;";
+ out << sp << nl << "private _" << name << "Operations _ice_delegate;";
out << eb;
close();