summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/AMQMethodBody.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/framing/AMQMethodBody.h')
-rw-r--r--cpp/src/qpid/framing/AMQMethodBody.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/AMQMethodBody.h b/cpp/src/qpid/framing/AMQMethodBody.h
index da28ee3aa9..cc7489ddd9 100644
--- a/cpp/src/qpid/framing/AMQMethodBody.h
+++ b/cpp/src/qpid/framing/AMQMethodBody.h
@@ -54,7 +54,7 @@ class AMQMethodBody : public AMQBody {
return amqpClassId()==T::CLASS_ID && amqpMethodId()==T::METHOD_ID;
}
- virtual uint32_t size() const = 0;
+ virtual uint32_t encodedSize() const = 0;
virtual uint8_t type() const { return METHOD_BODY; }
virtual bool isSync() const { return false; /*only ModelMethods can have the sync flag set*/ }