From e919b8ae21a9a92bdea636c7c5de34bda1c29a3d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 27 Mar 2007 21:23:40 +0000 Subject: * cpp/tests/BrokerChannelTest.cpp: Fix leak. * cpp/lib/broker/Connection.h: signature fix, pass const& instead of *. * cpp/lib/client/IncomingMessage.cpp: Correct error codes. * cpp/lib/broker/Reference.cpp: Fix TODO. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523085 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/broker/Reference.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'cpp/lib/broker/Reference.cpp') diff --git a/cpp/lib/broker/Reference.cpp b/cpp/lib/broker/Reference.cpp index c4c33e6363..bd1bdcb007 100644 --- a/cpp/lib/broker/Reference.cpp +++ b/cpp/lib/broker/Reference.cpp @@ -28,8 +28,6 @@ namespace broker { Reference::shared_ptr ReferenceRegistry::open(const Reference::Id& id) { ReferenceMap::iterator i = references.find(id); - // TODO aconway 2007-02-05: should we throw Channel or Connection - // exceptions here? if (i != references.end()) throw ConnectionException(503, "Attempt to re-open reference " +id); return references[id] = Reference::shared_ptr(new Reference(id, this)); -- cgit v1.2.1