ClassView: Optimize for loops

Change-Id: I429638e9eb3705a7ccf3c2a79bae1f0f58967893
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Orgad Shaneh
2014-05-19 23:31:23 +03:00
committed by Orgad Shaneh
parent e23dbb4c65
commit b3a5604634
2 changed files with 2 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ void ParserTreeItem::copyTree(const ParserTreeItem::ConstPtr &target)
QHash<SymbolInformation, ParserTreeItem::Ptr>::const_iterator end =
target->d->symbolInformations.constEnd();
for (; cur != end; cur++) {
for (; cur != end; ++cur) {
ParserTreeItem::Ptr item(new ParserTreeItem());
item->copyTree(cur.value());
appendChild(item, cur.key());