diff options
Diffstat (limited to 'cpp/src/qpid/framing/AMQCommandControlBody.h')
-rw-r--r-- | cpp/src/qpid/framing/AMQCommandControlBody.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/AMQCommandControlBody.h b/cpp/src/qpid/framing/AMQCommandControlBody.h index 388fb48299..d12b70a168 100644 --- a/cpp/src/qpid/framing/AMQCommandControlBody.h +++ b/cpp/src/qpid/framing/AMQCommandControlBody.h @@ -43,7 +43,7 @@ template <class T> class AMQCommandControlBody : public AMQBody, public T virtual void decode(Buffer& buffer, uint32_t=0) { Codec::decode(buffer.getIterator(), static_cast<T&>(*this)); } - virtual uint32_t size() const { + virtual uint32_t encodedSize() const { Codec::size(buffer.getIterator(), static_cast<const T&>(*this)); } |