summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@theqtcompany.com>2016-02-11 12:38:25 +0100
committerMartin Smith <martin.smith@theqtcompany.com>2016-02-11 11:45:39 +0000
commit6f4ce6b91e81a26bca8b9811f98a9c2028fbd9bc (patch)
treef949814a4b1234cb199ba4c58f3825146beaae99
parentc5bd181c06a52746aaf789ff518084c9aaba3980 (diff)
downloadqttools-6f4ce6b91e81a26bca8b9811f98a9c2028fbd9bc.tar.gz
qdoc: OSX C++ complains about ctor order
The ctor order of two constructors is adjusted. Change-Id: Ic8d10efed2b27cdfe807de129ae117bf5c2a9c85 Task-number: QTBUG-51047 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
-rw-r--r--src/qdoc/node.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qdoc/node.cpp b/src/qdoc/node.cpp
index ce43cf793..2e2b938b6 100644
--- a/src/qdoc/node.cpp
+++ b/src/qdoc/node.cpp
@@ -1951,10 +1951,10 @@ FunctionNode::FunctionNode(Aggregate *parent, const QString& name)
attached_(false),
privateSignal_(false),
overload_(false),
- reimplementedFrom_(0),
isDeleted_(false),
isDefaulted_(false),
- isFinal_(false)
+ isFinal_(false),
+ reimplementedFrom_(0)
{
setGenus(Node::CPP);
}
@@ -1977,10 +1977,10 @@ FunctionNode::FunctionNode(NodeType type, Aggregate *parent, const QString& name
attached_(attached),
privateSignal_(false),
overload_(false),
- reimplementedFrom_(0),
isDeleted_(false),
isDefaulted_(false),
- isFinal_(false)
+ isFinal_(false),
+ reimplementedFrom_(0)
{
setGenus(Node::QML);
if (type == QmlMethod || type == QmlSignal) {