diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2010-02-25 20:53:08 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2010-02-25 20:53:08 +0000 |
| commit | d678d87a20b9ff24967cc3a00f94bc6a2e4bea35 (patch) | |
| tree | 046824f8b8bcf449d6a9f0f8182615f95af32801 /cpp/rubygen | |
| parent | a5f9d5fe6f05296351e0ba5e723eaa7f46ce28b0 (diff) | |
| download | qpid-python-d678d87a20b9ff24967cc3a00f94bc6a2e4bea35.tar.gz | |
Removed unecessary include of Msg.h in Exception.h
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916453 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen')
| -rw-r--r-- | cpp/rubygen/framing.0-10/MethodBodyFactory.rb | 1 | ||||
| -rwxr-xr-x | cpp/rubygen/framing.0-10/constants.rb | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cpp/rubygen/framing.0-10/MethodBodyFactory.rb b/cpp/rubygen/framing.0-10/MethodBodyFactory.rb index 95c79fd1a4..28a5d94e32 100644 --- a/cpp/rubygen/framing.0-10/MethodBodyFactory.rb +++ b/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/cpp/rubygen/framing.0-10/constants.rb b/cpp/rubygen/framing.0-10/constants.rb index 5c1c1047f7..85bfb96ac0 100755 --- a/cpp/rubygen/framing.0-10/constants.rb +++ b/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") { |
