diff options
Diffstat (limited to 'cpp/src/qpid/framing/AMQFrame.cpp')
-rw-r--r-- | cpp/src/qpid/framing/AMQFrame.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cpp/src/qpid/framing/AMQFrame.cpp b/cpp/src/qpid/framing/AMQFrame.cpp index 778c9ab505..f79eae3524 100644 --- a/cpp/src/qpid/framing/AMQFrame.cpp +++ b/cpp/src/qpid/framing/AMQFrame.cpp @@ -23,8 +23,7 @@ #include "AMQFrame.h" #include "qpid/QpidError.h" -#include "AMQRequestBody.h" -#include "AMQResponseBody.h" +#include "AMQMethodBody.h" namespace qpid { @@ -91,12 +90,6 @@ void AMQFrame::decodeBody(Buffer& buffer, uint32_t size) case METHOD_BODY: body = AMQMethodBody::create(versionMap, version, buffer); break; - case REQUEST_BODY: - body = AMQRequestBody::create(versionMap, version, buffer); - break; - case RESPONSE_BODY: - body = AMQResponseBody::create(versionMap, version, buffer); - break; case HEADER_BODY: body = AMQBody::shared_ptr(new AMQHeaderBody()); break; |