summaryrefslogtreecommitdiff
path: root/cpp/tests/LazyLoadedContentTest.cpp
diff options
context:
space:
mode:
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 2075a6dd3a..8d0ad65a6a 100644
--- a/cpp/tests/LazyLoadedContentTest.cpp
+++ b/cpp/tests/LazyLoadedContentTest.cpp
@@ -35,8 +35,8 @@ using namespace qpid::framing;
struct DummyHandler : OutputHandler{
std::vector<AMQFrame*> frames;
- virtual void send(AMQFrame* frame){
- frames.push_back(frame);
+ virtual void send(AMQDataBlock* block){
+ frames.push_back(dynamic_cast<AMQFrame*>(block));
}
};