diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-11-12 11:22:37 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-11-12 11:22:37 +0100 |
commit | a000857ff6a9ad91cc1931ce367520f66b9f5a80 (patch) | |
tree | 877505ed78f842594814b6b627323a589ac2675b /cpp/src/slice2cpp | |
parent | Fixed bug 3537 - Assertion when Ice.ThreadPool.Client thread creation fails (diff) | |
parent | Fixed bug 3539 - SEGFAULT if thread start() fails in constructor (diff) | |
download | ice-a000857ff6a9ad91cc1931ce367520f66b9f5a80.tar.bz2 ice-a000857ff6a9ad91cc1931ce367520f66b9f5a80.tar.xz ice-a000857ff6a9ad91cc1931ce367520f66b9f5a80.zip |
Merge commit 'origin/R3_3_branch'
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index f45b93aaf07..cb3999f791b 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -2720,7 +2720,7 @@ Slice::Gen::DelegateMVisitor::visitOperation(const OperationPtr& p) } } - if(p->returnsData()) + if(ret || !outParams.empty()) { C << nl << "::IceInternal::BasicStream* __is = __og.is();"; C << nl << "__is->startReadEncaps();"; @@ -5357,7 +5357,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) C << nl << "return;"; C << eb; - if(p->returnsData()) + if(ret || !outParams.empty()) { C << nl << "__is->startReadEncaps();"; writeUnmarshalCode(C, outParams, 0, StringList(), true); |