summaryrefslogtreecommitdiffstats
path: root/qmake/generators/mac/pbuilder_pbx.h
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-08-02 23:34:53 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2018-08-08 17:30:23 +0000
commit182aca8487ad06396a29757fd86189364fce832b (patch)
treeafe2fe6af2da0b04fa17df26df6fc8642f247ede /qmake/generators/mac/pbuilder_pbx.h
parent24115f5a9ceb6b87465d5a14566b655ae66bba8c (diff)
qmake: Apply modernize-use-override
Add overrides to functions, except for destructors. Change-Id: I6e4640aa95a5c97d6bd6f6d8692d3290c421344e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'qmake/generators/mac/pbuilder_pbx.h')
-rw-r--r--qmake/generators/mac/pbuilder_pbx.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/qmake/generators/mac/pbuilder_pbx.h b/qmake/generators/mac/pbuilder_pbx.h
index f92436c215..f15c814cb4 100644
--- a/qmake/generators/mac/pbuilder_pbx.h
+++ b/qmake/generators/mac/pbuilder_pbx.h
@@ -40,7 +40,7 @@ class ProjectBuilderMakefileGenerator : public UnixMakefileGenerator
int pbuilderVersion() const;
bool writeSubDirs(QTextStream &);
bool writeMakeParts(QTextStream &);
- bool writeMakefile(QTextStream &);
+ bool writeMakefile(QTextStream &) override;
QString pbxbuild();
QHash<QString, QString> keys;
@@ -64,11 +64,11 @@ public:
ProjectBuilderMakefileGenerator();
~ProjectBuilderMakefileGenerator();
- virtual bool supportsMetaBuild() { return false; }
- virtual bool openOutput(QFile &, const QString &) const;
+ bool supportsMetaBuild() override { return false; }
+ bool openOutput(QFile &, const QString &) const override;
protected:
- bool doPrecompiledHeaders() const { return false; }
- virtual bool doDepends() const { return writingUnixMakefileGenerator && UnixMakefileGenerator::doDepends(); }
+ bool doPrecompiledHeaders() const override { return false; }
+ bool doDepends() const override { return writingUnixMakefileGenerator && UnixMakefileGenerator::doDepends(); }
};
inline ProjectBuilderMakefileGenerator::~ProjectBuilderMakefileGenerator()