diff options
Diffstat (limited to 'cpp/src/qpid/framing/AMQContentBody.cpp')
-rw-r--r-- | cpp/src/qpid/framing/AMQContentBody.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/framing/AMQContentBody.cpp b/cpp/src/qpid/framing/AMQContentBody.cpp index 59f3619ef2..85fb95739b 100644 --- a/cpp/src/qpid/framing/AMQContentBody.cpp +++ b/cpp/src/qpid/framing/AMQContentBody.cpp @@ -27,7 +27,7 @@ qpid::framing::AMQContentBody::AMQContentBody(){ qpid::framing::AMQContentBody::AMQContentBody(const string& _data) : data(_data){ } -uint32_t qpid::framing::AMQContentBody::size() const{ +uint32_t qpid::framing::AMQContentBody::encodedSize() const{ return data.size(); } void qpid::framing::AMQContentBody::encode(Buffer& buffer) const{ @@ -39,6 +39,6 @@ void qpid::framing::AMQContentBody::decode(Buffer& buffer, uint32_t _size){ void qpid::framing::AMQContentBody::print(std::ostream& out) const { - out << "content (" << size() << " bytes)"; + out << "content (" << encodedSize() << " bytes)"; out << " " << data.substr(0,16) << "..."; } |