From a72e355e7458497c0f993e1259e09167af113f01 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Mon, 11 Jun 2012 16:11:19 +0000 Subject: 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 --- qpid/cpp/src/qpid/acl/Acl.cpp | 2 +- qpid/cpp/src/qpid/broker/TopicKeyNode.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'qpid/cpp/src') 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 ChildMap; + typedef std::map 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); } -- cgit v1.2.1