summaryrefslogtreecommitdiff
path: root/qpid/cpp/rubygen
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-02-25 20:53:08 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-02-25 20:53:08 +0000
commit588219ac990912cecf77c90eaa77fba3dcdd5668 (patch)
tree50a7361c6dbcd7dabacfbc80c07d779f19e0e38c /qpid/cpp/rubygen
parent6d396d0d6e968291d844077c0028b0a4650dfe40 (diff)
downloadqpid-python-588219ac990912cecf77c90eaa77fba3dcdd5668.tar.gz
Removed unecessary include of Msg.h in Exception.h
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@916453 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen')
-rw-r--r--qpid/cpp/rubygen/framing.0-10/MethodBodyFactory.rb1
-rwxr-xr-xqpid/cpp/rubygen/framing.0-10/constants.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/rubygen/framing.0-10/MethodBodyFactory.rb b/qpid/cpp/rubygen/framing.0-10/MethodBodyFactory.rb
index 95c79fd1a4..28a5d94e32 100644
--- a/qpid/cpp/rubygen/framing.0-10/MethodBodyFactory.rb
+++ b/qpid/cpp/rubygen/framing.0-10/MethodBodyFactory.rb
@@ -35,6 +35,7 @@ class MethodBodyFactoryGen < CppGen
include "qpid/framing/BodyFactory"
@amqp.methods_.each { |m| include "qpid/framing/#{m.body_name}" }
include "qpid/Exception.h"
+ include "qpid/Msg.h"
genl
namespace(@namespace) {
scope("boost::intrusive_ptr<AMQMethodBody> #{@classname}::create(ClassId c, MethodId m) {") {
diff --git a/qpid/cpp/rubygen/framing.0-10/constants.rb b/qpid/cpp/rubygen/framing.0-10/constants.rb
index 5c1c1047f7..85bfb96ac0 100755
--- a/qpid/cpp/rubygen/framing.0-10/constants.rb
+++ b/qpid/cpp/rubygen/framing.0-10/constants.rb
@@ -78,6 +78,7 @@ EOS
cpp_file(path) {
include(path);
include("qpid/Exception.h")
+ include("qpid/Msg.h")
include("<ostream>")
namespace(@namespace) {
scope("const char* typeName(TypeCode t) {") {
@@ -181,6 +182,7 @@ EOS
def reply_exceptions_cpp()
cpp_file("#{@dir}/reply_exceptions") {
include "#{@dir}/reply_exceptions"
+ include "qpid/Msg.h"
include "<sstream>"
include "<assert.h>"
namespace("qpid::framing") {