From a653ebe5bdfad1d44a576d2ab23f7e6ea80ba96f Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 7 Oct 2008 17:24:24 +0000 Subject: Rename size() to encodedSize() for encoded types to allow std collection interfaces for types like FieldTable and Array. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702551 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/AMQMethodBody.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/framing/AMQMethodBody.h') 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*/ } -- cgit v1.2.1