5af12dae41
In VcprojGenerator::collectDependencies(), a temporary QLinkedList is created, then iterated over. There's no reason to use a node- based container here: no references are taken, no erases happen, esp. not in the middle... Port to QVector instead and reserve it, since the maximum size is known ahead of time, and the lifetime of the container is very short. Since the loop iterating over the linked list needed touching anyway, port directly to C++11 range-for. Change-Id: Ic5dfeebcd9da37c214f54abc6025a0a2b8fa3b5d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> |
||
---|---|---|
.. | ||
mac | ||
unix | ||
win32 | ||
makefile.cpp | ||
makefile.h | ||
makefiledeps.cpp | ||
makefiledeps.h | ||
metamakefile.cpp | ||
metamakefile.h | ||
projectgenerator.cpp | ||
projectgenerator.h | ||
xmloutput.cpp | ||
xmloutput.h |