diff options
| author | Alan Conway <aconway@apache.org> | 2010-10-14 19:38:40 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2010-10-14 19:38:40 +0000 |
| commit | 23204010207ad7db58500b6547b92b7f91d2df53 (patch) | |
| tree | ffa680168fd8d4c04a3b3bcad0472d1a920985b7 /cpp/src/qpid/cluster | |
| parent | 0be15c353c4cdc2612757fa4c877e5bb42e0228d (diff) | |
| download | qpid-python-23204010207ad7db58500b6547b92b7f91d2df53.tar.gz | |
Code cleanup in broker directory.
- Removed un-necessary #includes for broker/Queue.h
- Removed "using std::string" in header files.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022679 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster')
| -rw-r--r-- | cpp/src/qpid/cluster/FailoverExchange.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/qpid/cluster/FailoverExchange.h b/cpp/src/qpid/cluster/FailoverExchange.h index b4caa70db4..2e1edfc0ae 100644 --- a/cpp/src/qpid/cluster/FailoverExchange.h +++ b/cpp/src/qpid/cluster/FailoverExchange.h @@ -49,17 +49,17 @@ class FailoverExchange : public broker::Exchange // Exchange overrides std::string getType() const; - bool bind(broker::Queue::shared_ptr queue, const std::string& routingKey, const framing::FieldTable* args); - bool unbind(broker::Queue::shared_ptr queue, const std::string& routingKey, const framing::FieldTable* args); - bool isBound(broker::Queue::shared_ptr queue, const std::string* const routingKey, const framing::FieldTable* const args); + bool bind(boost::shared_ptr<broker::Queue> queue, const std::string& routingKey, const framing::FieldTable* args); + bool unbind(boost::shared_ptr<broker::Queue> queue, const std::string& routingKey, const framing::FieldTable* args); + bool isBound(boost::shared_ptr<broker::Queue> queue, const std::string* const routingKey, const framing::FieldTable* const args); void route(broker::Deliverable& msg, const std::string& routingKey, const framing::FieldTable* args); private: - void sendUpdate(const broker::Queue::shared_ptr&); + void sendUpdate(const boost::shared_ptr<broker::Queue>&); typedef sys::Mutex::ScopedLock Lock; typedef std::vector<Url> Urls; - typedef std::set<broker::Queue::shared_ptr> Queues; + typedef std::set<boost::shared_ptr<broker::Queue> > Queues; sys::Mutex lock; Urls urls; |
