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/xml | |
| 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/xml')
| -rw-r--r-- | cpp/src/qpid/xml/XmlExchange.cpp | 1 | ||||
| -rw-r--r-- | cpp/src/qpid/xml/XmlExchange.h | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/qpid/xml/XmlExchange.cpp b/cpp/src/qpid/xml/XmlExchange.cpp index fbf7566a18..f0afc8d451 100644 --- a/cpp/src/qpid/xml/XmlExchange.cpp +++ b/cpp/src/qpid/xml/XmlExchange.cpp @@ -49,6 +49,7 @@ using namespace qpid::framing; using namespace qpid::sys; using qpid::management::Manageable; +using std::string; namespace _qmf = qmf::org::apache::qpid::broker; namespace qpid { diff --git a/cpp/src/qpid/xml/XmlExchange.h b/cpp/src/qpid/xml/XmlExchange.h index 4394ede5e7..f34c417633 100644 --- a/cpp/src/qpid/xml/XmlExchange.h +++ b/cpp/src/qpid/xml/XmlExchange.h @@ -57,7 +57,7 @@ class XmlExchange : public virtual Exchange { }; - typedef std::map<string, XmlBinding::vector > XmlBindingsMap; + typedef std::map<std::string, XmlBinding::vector > XmlBindingsMap; XmlBindingsMap bindingsMap; XQilla xqilla; @@ -69,7 +69,7 @@ class XmlExchange : public virtual Exchange { static const std::string typeName; XmlExchange(const std::string& name, management::Manageable* parent = 0, Broker* broker = 0); - XmlExchange(const string& _name, bool _durable, + XmlExchange(const std::string& _name, bool _durable, const qpid::framing::FieldTable& _args, management::Manageable* parent = 0, Broker* broker = 0); virtual std::string getType() const { return typeName; } @@ -80,7 +80,7 @@ class XmlExchange : public virtual Exchange { virtual void route(Deliverable& msg, const std::string& routingKey, const qpid::framing::FieldTable* args); - virtual bool isBound(Queue::shared_ptr queue, const string* const routingKey, const qpid::framing::FieldTable* const args); + virtual bool isBound(Queue::shared_ptr queue, const std::string* const routingKey, const qpid::framing::FieldTable* const args); virtual ~XmlExchange(); }; |
