From f6f1900eb98cc1773a88a3ec309afa646438a384 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 31 Mar 2010 16:17:17 +0000 Subject: QPID-664: made changes suggested by Alan Conway, also moved 0-10 map/list codecs to common lib git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929606 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/examples/messaging/queue_receiver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/examples/messaging/queue_receiver.cpp') diff --git a/cpp/examples/messaging/queue_receiver.cpp b/cpp/examples/messaging/queue_receiver.cpp index 95756a9a3d..d7bcec1bb2 100644 --- a/cpp/examples/messaging/queue_receiver.cpp +++ b/cpp/examples/messaging/queue_receiver.cpp @@ -34,7 +34,7 @@ int main(int argc, char** argv) { Connection connection; try { connection.open(url); - Session session = connection.newSession(); + Session session = connection.createSession(); Receiver receiver = session.createReceiver("message_queue"); while (true) { Message message = receiver.fetch(); -- cgit v1.2.1