From 025451b1e26c48ca58c388921827929d11c9459c Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 19 Oct 2006 00:42:50 +0000 Subject: Fixed various minor TODO issues. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465432 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/Channel.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cpp/src/qpid/client/Channel.cpp') diff --git a/cpp/src/qpid/client/Channel.cpp b/cpp/src/qpid/client/Channel.cpp index 0563dbaaba..99e827488c 100644 --- a/cpp/src/qpid/client/Channel.cpp +++ b/cpp/src/qpid/client/Channel.cpp @@ -119,9 +119,7 @@ void Channel::deleteQueue(Queue& queue, bool ifunused, bool ifempty, bool synch) void Channel::bind(const Exchange& exchange, const Queue& queue, const std::string& key, const FieldTable& args, bool synch){ string e = exchange.getName(); string q = queue.getName(); - // TODO aconway 2006-10-10: not const correct, get rid of const_cast. - // - AMQFrame* frame = new AMQFrame(id, new QueueBindBody(0, q, e, key,!synch, const_cast(args))); + AMQFrame* frame = new AMQFrame(id, new QueueBindBody(0, q, e, key,!synch, args)); if(synch){ sendAndReceive(frame, queue_bind_ok); }else{ -- cgit v1.2.1