diff options
author | Paul Wicking <paul.wicking@qt.io> | 2019-12-06 13:26:52 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2019-12-11 07:52:57 +0100 |
commit | c09c14b1da8cf7ad6f844230ca552719776e981d (patch) | |
tree | 70a4625a9d6c8e52e44c7f4c2cf43e7b9b7422e7 /src/qdoc/node.cpp | |
parent | c76e840e47113514fa786093bb9dd4fadf432490 (diff) | |
download | qttools-c09c14b1da8cf7ad6f844230ca552719776e981d.tar.gz |
QDoc: Minor adjustment/cleanup
Pre-increment instead of post-increment for efficiency and readability.
Change-Id: I10b33360dd36cd1d0f4338441c1ad4724551e80e
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/node.cpp')
-rw-r--r-- | src/qdoc/node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/node.cpp b/src/qdoc/node.cpp index 08ec638d7..6cd3c74f7 100644 --- a/src/qdoc/node.cpp +++ b/src/qdoc/node.cpp @@ -2383,7 +2383,7 @@ void Aggregate::adoptFunction(FunctionNode *fn) auto it = functionMap_.find(fn->name()); if (it == functionMap_.end()) functionMap_.insert(fn->name(), fn); - functionCount_++; + ++functionCount_; } /*! |