summaryrefslogtreecommitdiff
path: root/cpp/tests/LazyLoadedContentTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-29 23:20:45 +0000
committerAlan Conway <aconway@apache.org>2007-03-29 23:20:45 +0000
commit468363c28d7473a972ebba970988979ead167906 (patch)
treec930b892840bf0237fec2797fad906330cf75f92 /cpp/tests/LazyLoadedContentTest.cpp
parent89e0f01cc546f252fdcc680d5eaba2841f9d62a6 (diff)
downloadqpid-python-468363c28d7473a972ebba970988979ead167906.tar.gz
Fixed more test memory leaks.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523870 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/LazyLoadedContentTest.cpp')
-rw-r--r--cpp/tests/LazyLoadedContentTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/tests/LazyLoadedContentTest.cpp b/cpp/tests/LazyLoadedContentTest.cpp
index b24cd5a84a..5a4dd34b53 100644
--- a/cpp/tests/LazyLoadedContentTest.cpp
+++ b/cpp/tests/LazyLoadedContentTest.cpp
@@ -97,11 +97,11 @@ public:
CPPUNIT_ASSERT_EQUAL(outCount, channel.out.frames.size());
for (unsigned int i = 0; i < outCount; i++) {
- AMQContentBody::shared_ptr chunk(dynamic_pointer_cast<AMQContentBody, AMQBody>(channel.out.frames[i]->getBody()));
+ AMQContentBody::shared_ptr chunk(dynamic_pointer_cast<AMQContentBody, AMQBody>(channel.out.frames[i].getBody()));
CPPUNIT_ASSERT(chunk);
CPPUNIT_ASSERT_EQUAL(out[i], chunk->getData());
CPPUNIT_ASSERT_EQUAL(
- ChannelId(3), channel.out.frames[i]->getChannel());
+ ChannelId(3), channel.out.frames[i].getChannel());
}
}
};