summaryrefslogtreecommitdiff
path: root/qpid/cpp/lib/broker/Reference.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-27 21:23:40 +0000
committerAlan Conway <aconway@apache.org>2007-03-27 21:23:40 +0000
commitab19c12851d40de5f2a330d898e181909b827ea9 (patch)
tree55c084689be462e5b08b97b44d021ddf1eb83ec6 /qpid/cpp/lib/broker/Reference.cpp
parent23c5446b9425bfaed254a93fc2250c54adddfc80 (diff)
downloadqpid-python-ab19c12851d40de5f2a330d898e181909b827ea9.tar.gz
* 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@523085 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/broker/Reference.cpp')
-rw-r--r--qpid/cpp/lib/broker/Reference.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qpid/cpp/lib/broker/Reference.cpp b/qpid/cpp/lib/broker/Reference.cpp
index c4c33e6363..bd1bdcb007 100644
--- a/qpid/cpp/lib/broker/Reference.cpp
+++ b/qpid/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));