From cc70b603d30b1a9dae9cf0bc30c570c5f7b0b994 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Thu, 4 Sep 2014 14:59:50 +0200 Subject: C++: Change QStringList to QSet to prevent conversions. This eliminates a bunch of list->set->list conversions. Especially the ProjectInfo::appendProjectPart takes lots of time converting for every part added. Change-Id: Ib3c8cd4b0ad6c012ccbeed12ebedd46b9b6cca95 Reviewed-by: Daniel Teske --- src/plugins/cpptools/cppsourceprocessor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/cpptools/cppsourceprocessor.h') diff --git a/src/plugins/cpptools/cppsourceprocessor.h b/src/plugins/cpptools/cppsourceprocessor.h index d2312defa4..e503bd5b16 100644 --- a/src/plugins/cpptools/cppsourceprocessor.h +++ b/src/plugins/cpptools/cppsourceprocessor.h @@ -71,7 +71,7 @@ public: void setRevision(unsigned revision); void setWorkingCopy(const CppTools::WorkingCopy &workingCopy); void setHeaderPaths(const ProjectPart::HeaderPaths &headerPaths); - void setTodo(const QStringList &files); + void setTodo(const QSet &files); void run(const QString &fileName, const QStringList &initialIncludes = QStringList()); void removeFromCache(const QString &fileName); -- cgit v1.2.1