From dd8381e8751086f6dc3a07981f4bb1a1d34015bb Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 1 May 2009 15:45:28 +0000 Subject: 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 --- cpp/rubygen/framing.0-10/Session.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpp/rubygen') 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 "" 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};" -- cgit v1.2.1