diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-05-03 04:04:00 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-05-03 04:04:00 +0000 |
commit | c912884c11debf57e8c154fba7dbbcae8ea34d90 (patch) | |
tree | 2cc25e6200e377b5f3bc49e767d149641edeb79f /cpp/src | |
parent | cf904ec83224d4369e112bbbaf64a4b9b2b9d193 (diff) | |
download | qpid-python-c912884c11debf57e8c154fba7dbbcae8ea34d90.tar.gz |
Fixed ExchangeRegistry definitions to match changed declarations
in previous checkin
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771021 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/broker/ExchangeRegistry.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/ExchangeRegistry.cpp b/cpp/src/qpid/broker/ExchangeRegistry.cpp index 01f8bbfee6..bb0eec34ba 100644 --- a/cpp/src/qpid/broker/ExchangeRegistry.cpp +++ b/cpp/src/qpid/broker/ExchangeRegistry.cpp @@ -32,15 +32,13 @@ using namespace qpid::sys; using std::pair; using qpid::framing::FieldTable; -pair<Exchange::shared_ptr, bool> ExchangeRegistry::declare(const string& name, const string& type) - throw(UnknownExchangeTypeException){ +pair<Exchange::shared_ptr, bool> ExchangeRegistry::declare(const string& name, const string& type){ return declare(name, type, false, FieldTable()); } pair<Exchange::shared_ptr, bool> ExchangeRegistry::declare(const string& name, const string& type, - bool durable, const FieldTable& args) - throw(UnknownExchangeTypeException){ + bool durable, const FieldTable& args){ RWlock::ScopedWlock locker(lock); ExchangeMap::iterator i = exchanges.find(name); if (i == exchanges.end()) { |