From 574065b31430245a66808561b1b95139c4cd19f2 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 29 Sep 2018 22:13:44 +0200 Subject: Cleanup: reinstate override modifiers This reverts commit 1c4a859c8d0b37b2e938209fe9c4d99e9758327a, where the override modifiers were removed owing to the noisy "inconsistent override modifiers" which is default-on in clang. This warning was disabled in 77577f717f5aad38ea8c4c41c10c181486c4337f, so we can reinstate the overrides. Signed-off-by: Berthold Stoeger Signed-off-by: Dirk Hohndel --- core/divesitehelpers.h | 2 +- core/downloadfromdcthread.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/divesitehelpers.h b/core/divesitehelpers.h index 6016d52e2..9227aa5c2 100644 --- a/core/divesitehelpers.h +++ b/core/divesitehelpers.h @@ -10,7 +10,7 @@ Q_OBJECT public: static ReverseGeoLookupThread *instance(); void lookup(struct dive_site *ds); - void run(); + void run() override; private: ReverseGeoLookupThread(QObject *parent = 0); diff --git a/core/downloadfromdcthread.h b/core/downloadfromdcthread.h index 265fb499e..3e2d7ddc0 100644 --- a/core/downloadfromdcthread.h +++ b/core/downloadfromdcthread.h @@ -63,7 +63,7 @@ class DownloadThread : public QThread { public: DownloadThread(); - void run(); + void run() override; DCDeviceData *data(); QString error; -- cgit v1.2.3-70-g09d2