diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-09-08 03:48:14 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-09-08 03:48:14 +0000 |
commit | aa21e6150f418fc259ed74e2988f22a1bf6d8d09 (patch) | |
tree | f9323c016b774ef6a6421b138270de4bca04c6b2 /cpp/src/slice2cs/Gen.cpp | |
parent | Fixed for 355, updated version to 3.0.0. (diff) | |
download | ice-aa21e6150f418fc259ed74e2988f22a1bf6d8d09.tar.bz2 ice-aa21e6150f418fc259ed74e2988f22a1bf6d8d09.tar.xz ice-aa21e6150f418fc259ed74e2988f22a1bf6d8d09.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=353
Diffstat (limited to 'cpp/src/slice2cs/Gen.cpp')
-rwxr-xr-x | cpp/src/slice2cs/Gen.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp index 37ea7119aa4..fafd2010610 100755 --- a/cpp/src/slice2cs/Gen.cpp +++ b/cpp/src/slice2cs/Gen.cpp @@ -344,6 +344,7 @@ Slice::CsVisitor::writeDispatch(const ClassDefPtr& p) TypeStringList::const_iterator q; + _out << nl << "__checkMode(" << sliceModeToIceMode(op) << ", __current.mode);";
if(!inParams.empty()) { _out << nl << "IceInternal.BasicStream __is = __inS.istr();"; @@ -478,7 +479,8 @@ Slice::CsVisitor::writeDispatch(const ClassDefPtr& p) } TypeStringList::const_iterator q; - + _out << nl << "__checkMode(" << sliceModeToIceMode(op) << ", __current.mode);";
+ if(!inParams.empty()) { _out << nl << "IceInternal.BasicStream __is = __inS.istr();"; |