Clang: reduce warnings about overriden destructors

main
Adriaan de Groot 7 years ago
parent 9693d7a5bd
commit 337903db09

@ -33,7 +33,7 @@ public:
bool runInChroot = false,
int secondsTimeout = 30,
QObject* parent = nullptr );
virtual ~ProcessJob();
virtual ~ProcessJob() override;
QString prettyName() const override;
QString prettyStatusMessage() const override;

@ -44,7 +44,7 @@ protected:
private:
friend class Module; //so only the superclass can instantiate
explicit CppJobModule();
virtual ~CppJobModule();
virtual ~CppJobModule() override;
QPluginLoader* m_loader;
job_ptr m_job;

@ -42,7 +42,7 @@ protected:
private:
friend class Module;
explicit ProcessJobModule();
virtual ~ProcessJobModule();
virtual ~ProcessJobModule() override;
QString m_command;
QString m_workingPath;

@ -45,7 +45,7 @@ protected:
private:
friend class Module; //so only the superclass can instantiate
explicit ViewModule();
virtual ~ViewModule();
virtual ~ViewModule() override;
QPluginLoader* m_loader;
ViewStep* m_viewStep = nullptr;

@ -34,7 +34,7 @@ class PLUGINDLLEXPORT FinishedViewStep : public Calamares::ViewStep
public:
explicit FinishedViewStep( QObject* parent = nullptr );
virtual ~FinishedViewStep();
virtual ~FinishedViewStep() override;
QString prettyName() const override;

@ -36,7 +36,7 @@ class PLUGINDLLEXPORT LicenseViewStep : public Calamares::ViewStep
public:
explicit LicenseViewStep( QObject* parent = nullptr );
virtual ~LicenseViewStep();
virtual ~LicenseViewStep() override;
QString prettyName() const override;
@ -52,7 +52,7 @@ public:
bool isAtEnd() const override;
QList< Calamares::job_ptr > jobs() const override;
void setConfigurationMap( const QVariantMap& configurationMap ) override;
private:

@ -37,7 +37,7 @@ class PLUGINDLLEXPORT LocaleViewStep : public Calamares::ViewStep
public:
explicit LocaleViewStep( QObject* parent = nullptr );
virtual ~LocaleViewStep();
virtual ~LocaleViewStep() override;
QString prettyName() const override;
QString prettyStatus() const override;

@ -39,7 +39,7 @@ public:
};
BootLoaderModel( QObject* parent = 0 );
~BootLoaderModel();
~BootLoaderModel() override;
/**
* Init the model with the list of devices. Does *not* take ownership of the

@ -34,7 +34,7 @@ class PLUGINDLLEXPORT SummaryViewStep : public Calamares::ViewStep
public:
explicit SummaryViewStep( QObject* parent = nullptr );
virtual ~SummaryViewStep();
virtual ~SummaryViewStep() override;
QString prettyName() const override;

@ -37,7 +37,7 @@ class PLUGINDLLEXPORT WelcomeViewStep : public Calamares::ViewStep
public:
explicit WelcomeViewStep( QObject* parent = nullptr );
virtual ~WelcomeViewStep();
virtual ~WelcomeViewStep() override;
QString prettyName() const override;

Loading…
Cancel
Save