Commit 1460ff39 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override on destructor

parent 7d2b330e
Pipeline #43335 skipped
......@@ -21,7 +21,7 @@ class InspectableChangeRecorderPrivate : public Akonadi::ChangeRecorderPrivate
{
public:
InspectableChangeRecorderPrivate(FakeMonitorDependenciesFactory *dependenciesFactory, InspectableChangeRecorder *parent);
~InspectableChangeRecorderPrivate()
~InspectableChangeRecorderPrivate() override
{
}
......
......@@ -21,7 +21,7 @@ class InspectableMonitorPrivate : public Akonadi::MonitorPrivate
{
public:
InspectableMonitorPrivate(FakeMonitorDependenciesFactory *dependenciesFactory, InspectableMonitor *parent);
~InspectableMonitorPrivate()
~InspectableMonitorPrivate() override
{
}
......
......@@ -32,7 +32,7 @@ struct Rudi: public Volker {
{
who = QStringLiteral("Rudi");
}
virtual ~Rudi() { }
~Rudi() override { }
Rudi *clone() const override
{
return new Rudi(*this);
......
......@@ -23,7 +23,7 @@ public:
: CollectionStatistics(prefetch)
, mCalculationsCount(0)
{}
~IntrospectableCollectionStatistics()
~IntrospectableCollectionStatistics() override
{}
int calculationsCount() const
......
......@@ -28,7 +28,7 @@ class AKONADICORE_EXPORT TagAttribute : public Attribute
public:
explicit TagAttribute();
~TagAttribute();
~TagAttribute() override;
/**
* Sets the @p name that should be used for display.
......
......@@ -111,7 +111,7 @@ public:
/**
* Destroys the DefaultResourceJob.
*/
~DefaultResourceJob();
~DefaultResourceJob() override;
/**
* Sets the @p type of the resource that shall be created if the requested
......@@ -184,7 +184,7 @@ public:
/**
Destroys the GetLockJob.
*/
~GetLockJob();
~GetLockJob() override;
/* reimpl */
void start() override;
......
......@@ -93,7 +93,7 @@ class QSQLiteResult : public QSqlCachedResult
friend class QSQLiteResultPrivate;
public:
explicit QSQLiteResult(const QSQLiteDriver *db);
~QSQLiteResult();
~QSQLiteResult() override;
QVariant handle() const override;
protected:
......
......@@ -32,7 +32,7 @@ class QSQLiteDriver : public QSqlDriver
public:
explicit QSQLiteDriver(QObject *parent = nullptr);
explicit QSQLiteDriver(sqlite3 *connection, QObject *parent = nullptr);
~QSQLiteDriver();
~QSQLiteDriver() override;
bool hasFeature(DriverFeature f) const override;
bool open(const QString &db,
const QString &user,
......
......@@ -40,7 +40,7 @@ public:
Exception(const Exception &) = delete;
Exception &operator=(const Exception &) = delete;
virtual ~Exception() throw() = default;
~Exception() throw() override = default;
const char *what() const throw() override {
return mWhat.constData();
......
......@@ -142,7 +142,7 @@ public:
{
}
~NotifyRunnable() = default;
~NotifyRunnable() override = default;
void run() override {
for (const auto &ntf : qAsConst(mNotifications))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment