diff options
author | Ted Ross <tross@apache.org> | 2012-06-11 16:11:19 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2012-06-11 16:11:19 +0000 |
commit | a72e355e7458497c0f993e1259e09167af113f01 (patch) | |
tree | 6905a1292d02ac99cf900e5e6236b3b06216cb44 /qpid/cpp/src | |
parent | 319f195a7377f8b5848375bbde1e6353cc6822b1 (diff) | |
download | qpid-python-a72e355e7458497c0f993e1259e09167af113f01.tar.gz |
NO-JIRA - Fixed some Windows Visual Studio build errors
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348926 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r-- | qpid/cpp/src/qpid/acl/Acl.cpp | 2 | ||||
-rw-r--r-- | qpid/cpp/src/qpid/broker/TopicKeyNode.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/src/qpid/acl/Acl.cpp b/qpid/cpp/src/qpid/acl/Acl.cpp index b68816288a..d941577f6a 100644 --- a/qpid/cpp/src/qpid/acl/Acl.cpp +++ b/qpid/cpp/src/qpid/acl/Acl.cpp @@ -124,7 +124,7 @@ bool Acl::authorise( } -bool Acl::approveConnection(const broker::Connection& conn) +bool Acl::approveConnection(const qpid::broker::Connection& conn) { return connectionCounter->approveConnection(conn); } diff --git a/qpid/cpp/src/qpid/broker/TopicKeyNode.h b/qpid/cpp/src/qpid/broker/TopicKeyNode.h index de54e2d636..089342709b 100644 --- a/qpid/cpp/src/qpid/broker/TopicKeyNode.h +++ b/qpid/cpp/src/qpid/broker/TopicKeyNode.h @@ -166,10 +166,10 @@ class QPID_BROKER_CLASS_EXTERN TopicKeyNode { bool isHash; // children - typedef std::map<const std::string, TopicKeyNode::shared_ptr> ChildMap; + typedef std::map<const std::string, typename TopicKeyNode::shared_ptr> ChildMap; ChildMap childTokens; - TopicKeyNode::shared_ptr starChild; // "*" subtree - TopicKeyNode::shared_ptr hashChild; // "#" subtree + typename TopicKeyNode::shared_ptr starChild; // "*" subtree + typename TopicKeyNode::shared_ptr hashChild; // "#" subtree unsigned int getChildCount() { return childTokens.size() + (starChild ? 1 : 0) + (hashChild ? 1 : 0); } |