summaryrefslogtreecommitdiff
path: root/cpp/src/tests/IncompleteMessageList.cpp
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2009-07-09 20:19:04 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2009-07-09 20:19:04 +0000
commitb41529bdbcf4de94161284b1dc97d1ef34d46401 (patch)
tree7eb1bcaaddd89768c49f0ea062826f13cc7259e9 /cpp/src/tests/IncompleteMessageList.cpp
parent5a48e3da672620aa5905babcd1d457e07c0afd80 (diff)
downloadqpid-python-b41529bdbcf4de94161284b1dc97d1ef34d46401.tar.gz
Clean up for next commit to clean broker interface
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792664 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/IncompleteMessageList.cpp')
-rw-r--r--cpp/src/tests/IncompleteMessageList.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/IncompleteMessageList.cpp b/cpp/src/tests/IncompleteMessageList.cpp
index 925cdbf43e..e830df0e8b 100644
--- a/cpp/src/tests/IncompleteMessageList.cpp
+++ b/cpp/src/tests/IncompleteMessageList.cpp
@@ -73,6 +73,7 @@ QPID_AUTO_TEST_CASE(testProcessSimple)
QPID_AUTO_TEST_CASE(testProcessWithIncomplete)
{
+ Queue::shared_ptr queue;
IncompleteMessageList list;
SequenceNumber counter(1);
boost::intrusive_ptr<Message> middle;
@@ -82,7 +83,7 @@ QPID_AUTO_TEST_CASE(testProcessWithIncomplete)
list.add(msg);
if (i == 2) {
//mark a message in the middle as incomplete
- msg->enqueueAsync();
+ msg->enqueueAsync(queue, 0);
middle = msg;
}
}