diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2009-05-03 03:52:37 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2009-05-03 03:52:37 +0000 |
| commit | cf904ec83224d4369e112bbbaf64a4b9b2b9d193 (patch) | |
| tree | 312da44042d8ed733a203ec5430e73774f1c7f61 /cpp/src/qpid/broker/ExchangeRegistry.h | |
| parent | 0b9a1572d25860399e2300a5860fea31b5aa00ee (diff) | |
| download | qpid-python-cf904ec83224d4369e112bbbaf64a4b9b2b9d193.tar.gz | |
Some more fixes to build under Visual Studio 2008
Remove some simple Visual Studio 2008 warnings
Fix qmfconsole build under Windows and CMake
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/ExchangeRegistry.h')
| -rw-r--r-- | cpp/src/qpid/broker/ExchangeRegistry.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cpp/src/qpid/broker/ExchangeRegistry.h b/cpp/src/qpid/broker/ExchangeRegistry.h index 9ca432e41c..9edd54f025 100644 --- a/cpp/src/qpid/broker/ExchangeRegistry.h +++ b/cpp/src/qpid/broker/ExchangeRegistry.h @@ -47,14 +47,12 @@ class ExchangeRegistry{ ExchangeRegistry () : parent(0) {} QPID_BROKER_EXTERN std::pair<Exchange::shared_ptr, bool> declare - (const std::string& name, const std::string& type) - throw(UnknownExchangeTypeException); + (const std::string& name, const std::string& type); QPID_BROKER_EXTERN std::pair<Exchange::shared_ptr, bool> declare (const std::string& name, const std::string& type, bool durable, - const qpid::framing::FieldTable& args = framing::FieldTable()) - throw(UnknownExchangeTypeException); + const qpid::framing::FieldTable& args = framing::FieldTable()); QPID_BROKER_EXTERN void destroy(const std::string& name); QPID_BROKER_EXTERN Exchange::shared_ptr get(const std::string& name); Exchange::shared_ptr getDefault(); @@ -69,7 +67,7 @@ class ExchangeRegistry{ */ bool registerExchange(const Exchange::shared_ptr&); - void registerType(const std::string& type, FactoryFunction); + QPID_BROKER_EXTERN void registerType(const std::string& type, FactoryFunction); /** Call f for each exchange in the registry. */ template <class F> void eachExchange(F f) const { |
