diff options
author | Tobias Hunger <[email protected]> | 2016-12-15 12:53:37 +0100 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2016-12-21 14:19:36 +0000 |
commit | 1b2fc1c8153c76eb38454e8fd7b69f0c02022f1a (patch) | |
tree | cf0cc9e3a6c68908bb9d681518f3bc2ddfc2a15d /src/plugins/cmakeprojectmanager/tealeafreader.h | |
parent | a347768488c88b2a0d9f8359697c91e2d271bbfd (diff) |
CMake: Pass const QList<const FileNode *> to Directory Readers
This makes sure they need to copy whatever they need.
Change-Id: I767ac0c5f54ca1f9f46acdefe4bd7fea35657312
Reviewed-by: Alexander Drozdov <[email protected]>
Reviewed-by: Tim Jenssen <[email protected]>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/tealeafreader.h')
-rw-r--r-- | src/plugins/cmakeprojectmanager/tealeafreader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/tealeafreader.h b/src/plugins/cmakeprojectmanager/tealeafreader.h index 5c09e577995..4baadd1652b 100644 --- a/src/plugins/cmakeprojectmanager/tealeafreader.h +++ b/src/plugins/cmakeprojectmanager/tealeafreader.h @@ -57,7 +57,7 @@ public: QList<CMakeBuildTarget> buildTargets() const final; CMakeConfig takeParsedConfiguration() final; void generateProjectTree(CMakeListsNode *root, - const QList<ProjectExplorer::FileNode *> &allFiles) final; + const QList<const ProjectExplorer::FileNode *> &allFiles) final; QSet<Core::Id> updateCodeModel(CppTools::ProjectPartBuilder &ppBuilder) final; private: |