summaryrefslogtreecommitdiff
path: root/cpp/src/tests/TxAckTest.cpp
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2007-11-08 18:46:53 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2007-11-08 18:46:53 +0000
commitd9ba9eae91290581b62f67239300897a96827e83 (patch)
tree67ea6a18828a42cafea5fce43b36b8b5f7c5becf /cpp/src/tests/TxAckTest.cpp
parent10a794c9d2fede2a0db9cf80e95f19d56e931196 (diff)
downloadqpid-python-d9ba9eae91290581b62f67239300897a96827e83.tar.gz
- enable the ability to lazy load from async store
- the ci has a raw ptr for Queue in QueuedMessage, if any has any concerns, ping me and I will convert it to an auto_ptr Carl. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593251 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/TxAckTest.cpp')
-rw-r--r--cpp/src/tests/TxAckTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/TxAckTest.cpp b/cpp/src/tests/TxAckTest.cpp
index 73628f25b5..dd57736a0c 100644
--- a/cpp/src/tests/TxAckTest.cpp
+++ b/cpp/src/tests/TxAckTest.cpp
@@ -76,7 +76,7 @@ public:
msg->getProperties<DeliveryProperties>()->setDeliveryMode(PERSISTENT);
msg->getProperties<DeliveryProperties>()->setRoutingKey("routing_key");
messages.push_back(msg);
- QueuedMessage qm;
+ QueuedMessage qm(queue.get());
qm.payload = msg;
deliveries.push_back(DeliveryRecord(qm, queue, "xyz", DeliveryToken::shared_ptr(), (i+1), true));
}