diff options
author | Alan Conway <aconway@apache.org> | 2009-05-01 15:45:28 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-05-01 15:45:28 +0000 |
commit | c2bf982c376877681be4542ca240ec5d076e9723 (patch) | |
tree | 072b5f70c2225ee4d17c5eba0f09547ccabd3bbb /qpid/cpp/rubygen | |
parent | 9f3261b70e85f57019152670cfb5e8932c9d4abb (diff) | |
download | qpid-python-c2bf982c376877681be4542ca240ec5d076e9723.tar.gz |
Code generator changes missed on last commit.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@770723 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen')
-rw-r--r-- | qpid/cpp/rubygen/framing.0-10/Session.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qpid/cpp/rubygen/framing.0-10/Session.rb b/qpid/cpp/rubygen/framing.0-10/Session.rb index 48a1608af0..e681a4a23d 100644 --- a/qpid/cpp/rubygen/framing.0-10/Session.rb +++ b/qpid/cpp/rubygen/framing.0-10/Session.rb @@ -162,8 +162,9 @@ class SessionNoKeywordGen < CppGen include "qpid/framing/all_method_bodies.h" include "qpid/client/SessionImpl.h" include "qpid/client/MessageImpl.h" - include "qpid/client/PrivateImplPrivate.h" + include "qpid/client/PrivateImplRef.h" include "qpid/client/CompletionImpl.h" + include "<boost/intrusive_ptr.hpp>" namespace(@namespace) { genl "using namespace framing;" session_methods(sync_default).each { |m| @@ -175,7 +176,7 @@ class SessionNoKeywordGen < CppGen genl "#{m.body_name} body(#{args});"; genl "body.setSync(sync);" sendargs="body" - sendargs << ", *privateImplGetPtr(content)" if m.content + sendargs << ", *MessageImpl::get(content)" if m.content async_retval="#{m.return_type(true)}(new CompletionImpl(impl->send(#{sendargs}), impl))" if @async then genl "return #{async_retval};" |