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 | 071fff099bd18bbbadbb90e344052ef877cefc32 (patch) | |
| tree | cb6c0fa042221a57c92abec8078103a0b48e281b /qpid/cpp/src/tests/HeaderTest.cpp | |
| parent | 9d29dc4fc9aeecab7023fc09ac239e5dbfd2ea1f (diff) | |
| download | qpid-python-071fff099bd18bbbadbb90e344052ef877cefc32.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@702551 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/HeaderTest.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/HeaderTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/HeaderTest.cpp b/qpid/cpp/src/tests/HeaderTest.cpp index c3b64419ed..33bf705e65 100644 --- a/qpid/cpp/src/tests/HeaderTest.cpp +++ b/qpid/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( |
