Clang: reduce warnings about overriden destructors

This commit is contained in:
Adriaan de Groot 2017-09-20 08:24:28 -04:00
parent 9693d7a5bd
commit 337903db09
10 changed files with 11 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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