summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/acl/Acl.cpp2
-rw-r--r--qpid/cpp/src/qpid/broker/TopicKeyNode.h6
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); }