summaryrefslogtreecommitdiff
path: root/cpp/src/slice2javae/Gen.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-09-08 05:01:02 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-09-08 05:01:02 +0000
commit96f03676876c78b4bfe1132919fb8dbedbf7efe8 (patch)
treec31dd885938bc808920c39340d17c9b681035df6 /cpp/src/slice2javae/Gen.cpp
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=353 (diff)
downloadice-96f03676876c78b4bfe1132919fb8dbedbf7efe8.tar.bz2
ice-96f03676876c78b4bfe1132919fb8dbedbf7efe8.tar.xz
ice-96f03676876c78b4bfe1132919fb8dbedbf7efe8.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=353
Diffstat (limited to 'cpp/src/slice2javae/Gen.cpp')
-rw-r--r--cpp/src/slice2javae/Gen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/slice2javae/Gen.cpp b/cpp/src/slice2javae/Gen.cpp
index a6b08020003..69e06826012 100644
--- a/cpp/src/slice2javae/Gen.cpp
+++ b/cpp/src/slice2javae/Gen.cpp
@@ -478,6 +478,7 @@ Slice::JavaVisitor::writeDispatch(Output& out, const ClassDefPtr& p)
int iter;
+ out << nl << "__checkMode(" << sliceModeToIceMode(op) << ", __current.mode);";
if(!inParams.empty())
{
out << nl << "IceInternal.BasicStream __is = __in.is();";