summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/Reference.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib/broker/Reference.cpp')
-rw-r--r--cpp/lib/broker/Reference.cpp2
1 files changed, 0 insertions, 2 deletions
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));