summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristian Gudrian <christian.gudrian@aucos.de>2018-02-17 09:46:58 +0100
committerMichael Brasser <michael.brasser@live.com>2018-02-26 16:27:31 +0000
commit93dc5555a7f815f4366886e3af57718c4c169fcb (patch)
tree0279de366a63875e116317f02f589dabea53fc49 /tools
parentdb6d07b4a51813e72eee474a6ee2e91438841fa7 (diff)
Fix infinite loop during slot cleanup for properties
The while loop in the function cleanedSlotList has never incremented the iterator which resulted in an infinite loop. Change-Id: I079a5589509887aa7618fe07ba7783029fe75322 Reviewed-by: Michael Brasser <michael.brasser@live.com> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/repc/utils.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/repc/utils.cpp b/tools/repc/utils.cpp
index 528dd12..a126f36 100644
--- a/tools/repc/utils.cpp
+++ b/tools/repc/utils.cpp
@@ -124,6 +124,7 @@ static QVector<FunctionDef> cleanedSlotList(const ClassDef &cdef)
ret.erase(it);
break;
}
+ ++it;
}
}
}