From 5a1b8a846bdfa5cb517da0c507f3dc3a8ceec25d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 29 Jan 2007 16:13:24 +0000 Subject: * Added ClientAdapter - client side ChannelAdapter. Updated client side. * Moved ChannelAdapter initialization from ctor to init(), updated broker side. * Improved various exception messages with boost::format messages. * Removed unnecssary virtual inheritance. * Widespread: fixed incorrect non-const ProtocolVersion& parameters. * Client API: pass channels by reference, not pointer. * codegen: - MethodBodyClass.h.templ: Added CLASS_ID, METHOD_ID and isA() template. - Various: fixed non-const ProtocolVersion& parameters. * cpp/bootstrap: Allow config arguments with -build. * cpp/gen/Makefile.am: Merged codegen fixes from trunk. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501087 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/tests/topic_publisher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/tests/topic_publisher.cpp') diff --git a/cpp/tests/topic_publisher.cpp b/cpp/tests/topic_publisher.cpp index 5761acc4aa..048ec47bb4 100644 --- a/cpp/tests/topic_publisher.cpp +++ b/cpp/tests/topic_publisher.cpp @@ -120,7 +120,7 @@ int main(int argc, char** argv) { Connection connection(args.getTrace()); connection.open(args.getHost(), args.getPort()); Channel channel(args.getTransactional(), args.getPrefetch()); - connection.openChannel(&channel); + connection.openChannel(channel); //declare queue (relying on default binding): Queue response("response"); -- cgit v1.2.1