summaryrefslogtreecommitdiff
path: root/cpp/rubygen/framing.0-10/Session.rb
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-05-01 15:45:28 +0000
committerAlan Conway <aconway@apache.org>2009-05-01 15:45:28 +0000
commitdd8381e8751086f6dc3a07981f4bb1a1d34015bb (patch)
treeadb79f0a2760807ecf1fc16d3e6cd4add9e0b4fe /cpp/rubygen/framing.0-10/Session.rb
parentdd79366789a749856de0e41633146340c2b79f9a (diff)
downloadqpid-python-dd8381e8751086f6dc3a07981f4bb1a1d34015bb.tar.gz
Code generator changes missed on last commit.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770723 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/framing.0-10/Session.rb')
-rw-r--r--cpp/rubygen/framing.0-10/Session.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/rubygen/framing.0-10/Session.rb b/cpp/rubygen/framing.0-10/Session.rb
index 48a1608af0..e681a4a23d 100644
--- a/cpp/rubygen/framing.0-10/Session.rb
+++ b/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};"