summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/broker/TopicKeyNode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/TopicKeyNode.h b/qpid/cpp/src/qpid/broker/TopicKeyNode.h
index 089342709b..7671ed069d 100644
--- a/qpid/cpp/src/qpid/broker/TopicKeyNode.h
+++ b/qpid/cpp/src/qpid/broker/TopicKeyNode.h
@@ -208,7 +208,7 @@ class QPID_BROKER_CLASS_EXTERN TopicKeyNode {
if (ptr != childTokens.end()) {
return ptr->second->add(bKey, fullPattern);
} else {
- TopicKeyNode::shared_ptr child(new TopicKeyNode<T>(next_token));
+ typename TopicKeyNode::shared_ptr child(new TopicKeyNode<T>(next_token));
childTokens[next_token] = child;
return child->add(bKey, fullPattern);
}