diff options
author | Michi Henning <michi@zeroc.com> | 2006-01-30 04:49:12 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2006-01-30 04:49:12 +0000 |
commit | 75651d16e81b6f8b04243cc2677ec09e294876fe (patch) | |
tree | dae559cb96e147fb367f21c944b83f32d88f884c /cpp/src | |
parent | Bug 838. (diff) | |
download | ice-75651d16e81b6f8b04243cc2677ec09e294876fe.tar.bz2 ice-75651d16e81b6f8b04243cc2677ec09e294876fe.tar.xz ice-75651d16e81b6f8b04243cc2677ec09e294876fe.zip |
Bug 830.
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index b97f44a2b5e..f3c845e086e 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -3049,7 +3049,12 @@ Slice::Gen::ObjectVisitor::visitOperation(const OperationPtr& p) C << sp; C << nl << "::IceInternal::DispatchStatus" << nl << scope.substr(2) << "___" << name - << "(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)" << (nonmutating ? " const" : ""); + << "(::IceInternal::Incoming&"; + if(!paramList.empty() || !p->throws().empty() || ret) + { + C << "__inS"; + } + C << ", const ::Ice::Current& __current)" << (nonmutating ? " const" : ""); C << sb; if(!amd) { |