diff options
author | Alan Conway <aconway@apache.org> | 2008-10-07 17:24:24 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-10-07 17:24:24 +0000 |
commit | a653ebe5bdfad1d44a576d2ab23f7e6ea80ba96f (patch) | |
tree | cf778054e9316b643d84c95dbe88ba72810f49cf /cpp/src/tests/HeaderTest.cpp | |
parent | 4eb2dca5b9ae07228f542cd798b44cc44ea96c09 (diff) | |
download | qpid-python-a653ebe5bdfad1d44a576d2ab23f7e6ea80ba96f.tar.gz |
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
Diffstat (limited to 'cpp/src/tests/HeaderTest.cpp')
-rw-r--r-- | cpp/src/tests/HeaderTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/HeaderTest.cpp b/cpp/src/tests/HeaderTest.cpp index c3b64419ed..33bf705e65 100644 --- a/cpp/src/tests/HeaderTest.cpp +++ b/cpp/src/tests/HeaderTest.cpp @@ -39,7 +39,7 @@ QPID_AUTO_TEST_CASE(testGenericProperties) Buffer rbuffer(buff, 100); AMQHeaderBody body2; - body2.decode(rbuffer, body.size()); + body2.decode(rbuffer, body.encodedSize()); MessageProperties* props = body2.get<MessageProperties>(true); BOOST_CHECK_EQUAL( |