diff options
Diffstat (limited to 'cpp/src/qpid/broker/ExchangeRegistry.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/ExchangeRegistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/ExchangeRegistry.cpp b/cpp/src/qpid/broker/ExchangeRegistry.cpp index 20fdc4164a..8122e5c2d9 100644 --- a/cpp/src/qpid/broker/ExchangeRegistry.cpp +++ b/cpp/src/qpid/broker/ExchangeRegistry.cpp @@ -45,7 +45,7 @@ pair<Exchange::shared_ptr, bool> ExchangeRegistry::declare(const string& name, c if (i == exchanges.end()) { Exchange::shared_ptr exchange; - if(type == TopicExchange::typeName){ + if (type == TopicExchange::typeName){ exchange = Exchange::shared_ptr(new TopicExchange(name, durable, args, parent, broker)); }else if(type == DirectExchange::typeName){ exchange = Exchange::shared_ptr(new DirectExchange(name, durable, args, parent, broker)); |
