aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/depscanner.h
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-08-02 18:28:51 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-08-20 13:38:47 +0000
commit36c67caee1a65b601446ac9c67d5a3dae03ee1f3 (patch)
treefc7cc067022ee70acc0940af7fd605575f2278eb /src/lib/corelib/buildgraph/depscanner.h
parent677ead12a2bb7da5d4de6d3b78e8dd95ba13923c (diff)
corelib: Apply modernize-use-override
Add overrides to function, except for destructors. Change-Id: I1a1337b01dfef81b74ba56c5f00bf4d4cfc10935 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/depscanner.h')
-rw-r--r--src/lib/corelib/buildgraph/depscanner.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/corelib/buildgraph/depscanner.h b/src/lib/corelib/buildgraph/depscanner.h
index fef71058f..5c8ef83d9 100644
--- a/src/lib/corelib/buildgraph/depscanner.h
+++ b/src/lib/corelib/buildgraph/depscanner.h
@@ -84,13 +84,13 @@ public:
PluginDependencyScanner(ScannerPlugin *plugin);
private:
- QStringList collectSearchPaths(Artifact *artifact);
- QStringList collectDependencies(FileResourceBase *file, const char *fileTags);
- bool recursive() const;
- const void *key() const;
- QString createId() const;
+ QStringList collectSearchPaths(Artifact *artifact) override;
+ QStringList collectDependencies(FileResourceBase *file, const char *fileTags) override;
+ bool recursive() const override;
+ const void *key() const override;
+ QString createId() const override;
bool areModulePropertiesCompatible(const PropertyMapConstPtr &m1,
- const PropertyMapConstPtr &m2) const;
+ const PropertyMapConstPtr &m2) const override;
ScannerPlugin* m_plugin;
};
@@ -101,13 +101,13 @@ public:
UserDependencyScanner(const ResolvedScannerConstPtr &scanner, ScriptEngine *engine);
private:
- QStringList collectSearchPaths(Artifact *artifact);
- QStringList collectDependencies(FileResourceBase *file, const char *fileTags);
- bool recursive() const;
- const void *key() const;
- QString createId() const;
+ QStringList collectSearchPaths(Artifact *artifact) override;
+ QStringList collectDependencies(FileResourceBase *file, const char *fileTags) override;
+ bool recursive() const override;
+ const void *key() const override;
+ QString createId() const override;
bool areModulePropertiesCompatible(const PropertyMapConstPtr &m1,
- const PropertyMapConstPtr &m2) const;
+ const PropertyMapConstPtr &m2) const override;
QStringList evaluate(Artifact *artifact, const PrivateScriptFunction &script);