summaryrefslogtreecommitdiff
path: root/qpid/cpp/rubygen/framing.0-10/structs.rb
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-01-22 20:29:12 +0000
committerAlan Conway <aconway@apache.org>2009-01-22 20:29:12 +0000
commit3e26ae40844c3f9e612a0e3a2f98ba1576ee520c (patch)
tree42082fbc46a2f154995f7dc8f82f25be6b102377 /qpid/cpp/rubygen/framing.0-10/structs.rb
parent9188e54f7e99991caad89f30ea488918efffc384 (diff)
downloadqpid-python-3e26ae40844c3f9e612a0e3a2f98ba1576ee520c.tar.gz
Removed BodyHolder: minor performance improvement, opens the way for more efficient memory management.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@736783 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen/framing.0-10/structs.rb')
-rw-r--r--qpid/cpp/rubygen/framing.0-10/structs.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/rubygen/framing.0-10/structs.rb b/qpid/cpp/rubygen/framing.0-10/structs.rb
index eb935d06b4..a68e1afb1e 100644
--- a/qpid/cpp/rubygen/framing.0-10/structs.rb
+++ b/qpid/cpp/rubygen/framing.0-10/structs.rb
@@ -233,6 +233,7 @@ class StructGen < CppGen
using AMQMethodBody::accept;
void accept(MethodBodyConstVisitor& v) const { v.visit(*this); }
+ boost::intrusive_ptr<AMQBody> clone() const { return BodyFactory::copy(*this); }
ClassId amqpClassId() const { return CLASS_ID; }
MethodId amqpMethodId() const { return METHOD_ID; }