diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-09-07 07:17:14 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-09-07 07:17:14 +0000 |
commit | 1b601b793ee92ef2d6aa573c5c1345f56856a5f1 (patch) | |
tree | bdd9dbae09ddc1b5ae1e54d9d1923d46b5d25438 /cpp/src/slice2cpp | |
parent | Bug 355. (diff) | |
download | ice-1b601b793ee92ef2d6aa573c5c1345f56856a5f1.tar.bz2 ice-1b601b793ee92ef2d6aa573c5c1345f56856a5f1.tar.xz ice-1b601b793ee92ef2d6aa573c5c1345f56856a5f1.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=353
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 66db0d096b1..953714d572f 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -3057,6 +3057,8 @@ Slice::Gen::ObjectVisitor::visitOperation(const OperationPtr& p) throws.sort(Slice::DerivedToBaseCompare()); #endif + C << nl << "__checkMode(" << operationModeToString(p->mode()) << ", __current.mode);"; + if(!inParams.empty()) { C << nl << "::IceInternal::BasicStream* __is = __inS.is();"; @@ -3105,6 +3107,8 @@ Slice::Gen::ObjectVisitor::visitOperation(const OperationPtr& p) } else { + C << nl << "__checkMode(" << operationModeToString(p->mode()) << ", __current.mode);"; + if(!inParams.empty()) { C << nl << "::IceInternal::BasicStream* __is = __inS.is();"; |