summaryrefslogtreecommitdiff
path: root/src/qdoc/sharedcommentnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/sharedcommentnode.cpp')
-rw-r--r--src/qdoc/sharedcommentnode.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qdoc/sharedcommentnode.cpp b/src/qdoc/sharedcommentnode.cpp
index b5a07ee98..fc512fe25 100644
--- a/src/qdoc/sharedcommentnode.cpp
+++ b/src/qdoc/sharedcommentnode.cpp
@@ -29,9 +29,16 @@
#include "sharedcommentnode.h"
#include "functionnode.h"
+#include "qmltypenode.h"
QT_BEGIN_NAMESPACE
+SharedCommentNode::SharedCommentNode(QmlTypeNode *parent, int count, QString &group)
+ : Node(Node::SharedComment, parent, group)
+{
+ m_collective.reserve(count);
+}
+
/*!
Searches the shared comment node's member nodes for function
nodes. Each function node's overload flag is set.