diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2019-06-20 15:51:04 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-06-20 14:40:55 +0000 |
commit | add60c014871bdae0a038398695425a347b44952 (patch) | |
tree | 71eec14fa7378f9c3313dae1e3b1584c7f7b33da /src/plugins/cmakeprojectmanager/fileapidataextractor.h | |
parent | 129c0abb5a38d8f928a122f173ac361f56f2df3e (diff) |
CMake: Avoid a bit of useless processing when updating the project tree
Do not pass around a list of filenodes with all the known header files.
That list gets converted into a QSet<FilePath> and then that is used.
Just generate the QSet<FilePath> directly and avoid that conversion.
Change-Id: I2444a2a6b4a1600fe476e66673a1a2e9c8900764
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/fileapidataextractor.h')
-rw-r--r-- | src/plugins/cmakeprojectmanager/fileapidataextractor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/fileapidataextractor.h b/src/plugins/cmakeprojectmanager/fileapidataextractor.h index b84abbf7c85..3741f339afd 100644 --- a/src/plugins/cmakeprojectmanager/fileapidataextractor.h +++ b/src/plugins/cmakeprojectmanager/fileapidataextractor.h @@ -47,7 +47,7 @@ public: QList<CMakeBuildTarget> buildTargets; CppTools::RawProjectParts projectParts; std::unique_ptr<CMakeProjectNode> rootProjectNode; - QVector<ProjectExplorer::FileNode *> knownHeaders; + QSet<Utils::FilePath> knownHeaders; }; FileApiQtcData extractData(FileApiData &data, |