summaryrefslogtreecommitdiff
path: root/cpp/tests/TxPublishTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/tests/TxPublishTest.cpp')
-rw-r--r--cpp/tests/TxPublishTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/tests/TxPublishTest.cpp b/cpp/tests/TxPublishTest.cpp
index 3542e08f45..87658af62e 100644
--- a/cpp/tests/TxPublishTest.cpp
+++ b/cpp/tests/TxPublishTest.cpp
@@ -75,7 +75,7 @@ public:
TxPublishTest() : queue1(new Queue("queue1", false, &store, 0)),
queue2(new Queue("queue2", false, &store, 0)),
- msg(new Message(0, "exchange", "routing_key", false, false)),
+ msg(new BasicMessage(0, "exchange", "routing_key", false, false)),
op(msg, &xid)
{
msg->setHeader(AMQHeaderBody::shared_ptr(new AMQHeaderBody(BASIC)));