diff options
Diffstat (limited to 'cpp/tests/InMemoryContentTest.cpp')
-rw-r--r-- | cpp/tests/InMemoryContentTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/tests/InMemoryContentTest.cpp b/cpp/tests/InMemoryContentTest.cpp index d02cc56a7b..4597ee5e5d 100644 --- a/cpp/tests/InMemoryContentTest.cpp +++ b/cpp/tests/InMemoryContentTest.cpp @@ -67,11 +67,11 @@ public: for (unsigned int i = 0; i < outCount; i++) { AMQContentBody::shared_ptr chunk( dynamic_pointer_cast<AMQContentBody>( - channel.out.frames[i]->getBody())); + 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()); } } |