From 505b253590d2cf8ebfe35ccd2ff3df2443240001 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 30 Nov 2006 14:48:24 +0000 Subject: Some further tweaks to MessageStore interface. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480946 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/test') diff --git a/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp b/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp index 4d267887ba..ecb907400d 100644 --- a/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp +++ b/cpp/test/unit/qpid/broker/LazyLoadedContentTest.cpp @@ -55,7 +55,7 @@ class LazyLoadedContentTest : public CppUnit::TestCase public: TestMessageStore(const string& _content) : content(_content) {} - void loadContent(u_int64_t, string& data, u_int64_t offset, u_int32_t length) + void loadContent(Message* const, string& data, u_int64_t offset, u_int32_t length) { if (offset + length <= content.size()) { data = content.substr(offset, length); @@ -96,7 +96,7 @@ public: void load(string& in, size_t outCount, string* out, u_int32_t framesize) { TestMessageStore store(in); - LazyLoadedContent content(&store, 1, in.size()); + LazyLoadedContent content(&store, 0, in.size()); DummyHandler handler; u_int16_t channel = 3; content.send(&handler, channel, framesize); -- cgit v1.2.1