diff options
author | Michi Henning <michi@zeroc.com> | 2003-08-27 08:59:34 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-08-27 08:59:34 +0000 |
commit | 3e55486ea753901101bed6974e872d0002c8aaed (patch) | |
tree | a615409a0cf6472a00162709cd007ff045b690c8 /cpp/src/slice2java/Gen.cpp | |
parent | Added test for ice_getContext(). (diff) | |
download | ice-3e55486ea753901101bed6974e872d0002c8aaed.tar.bz2 ice-3e55486ea753901101bed6974e872d0002c8aaed.tar.xz ice-3e55486ea753901101bed6974e872d0002c8aaed.zip |
Added per-proxy contexts to icej. For ice, added context to operator== and
the hash function for proxies.
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r-- | cpp/src/slice2java/Gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp index ed3c4d1d497..6372c2b5a38 100644 --- a/cpp/src/slice2java/Gen.cpp +++ b/cpp/src/slice2java/Gen.cpp @@ -2371,7 +2371,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p) { out << ", "; } - out << "null);"; + out << "__defaultContext());"; out << eb; out << sp; @@ -2436,7 +2436,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p) out << sp; out << nl << "public void" << nl << opName << "_async(" << paramsAMI << ')'; out << sb; - out << nl << opName << "_async(" << argsAMI << ", null);"; + out << nl << opName << "_async(" << argsAMI << ", __defaultContext());"; out << eb; out << sp; |