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/management | |
| 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/management')
| -rw-r--r-- | cpp/src/qpid/management/ManagementDirectExchange.h | 6 | ||||
| -rw-r--r-- | cpp/src/qpid/management/ManagementTopicExchange.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/qpid/management/ManagementDirectExchange.h b/cpp/src/qpid/management/ManagementDirectExchange.h index ab691afa70..7507179c06 100644 --- a/cpp/src/qpid/management/ManagementDirectExchange.h +++ b/cpp/src/qpid/management/ManagementDirectExchange.h @@ -36,15 +36,15 @@ class ManagementDirectExchange : public virtual DirectExchange public: static const std::string typeName; - ManagementDirectExchange(const string& name, Manageable* _parent = 0, Broker* broker = 0); - ManagementDirectExchange(const string& _name, bool _durable, + ManagementDirectExchange(const std::string& name, Manageable* _parent = 0, Broker* broker = 0); + ManagementDirectExchange(const std::string& _name, bool _durable, const qpid::framing::FieldTable& _args, Manageable* _parent = 0, Broker* broker = 0); virtual std::string getType() const { return typeName; } virtual void route(Deliverable& msg, - const string& routingKey, + const std::string& routingKey, const qpid::framing::FieldTable* args); void setManagmentAgent(management::ManagementAgent* agent, int qmfVersion); diff --git a/cpp/src/qpid/management/ManagementTopicExchange.h b/cpp/src/qpid/management/ManagementTopicExchange.h index ece1c88ecf..232300265e 100644 --- a/cpp/src/qpid/management/ManagementTopicExchange.h +++ b/cpp/src/qpid/management/ManagementTopicExchange.h @@ -36,19 +36,19 @@ class ManagementTopicExchange : public virtual TopicExchange public: static const std::string typeName; - ManagementTopicExchange(const string& name, Manageable* _parent = 0, Broker* broker = 0); - ManagementTopicExchange(const string& _name, bool _durable, + ManagementTopicExchange(const std::string& name, Manageable* _parent = 0, Broker* broker = 0); + ManagementTopicExchange(const std::string& _name, bool _durable, const qpid::framing::FieldTable& _args, Manageable* _parent = 0, Broker* broker = 0); virtual std::string getType() const { return typeName; } virtual void route(Deliverable& msg, - const string& routingKey, + const std::string& routingKey, const qpid::framing::FieldTable* args); virtual bool bind(Queue::shared_ptr queue, - const string& routingKey, + const std::string& routingKey, const qpid::framing::FieldTable* args); void setManagmentAgent(management::ManagementAgent* agent, int qmfVersion); |
