From 5180f32c5abe01acd65cde68c2c16aedda4028ec Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Sun, 16 Nov 2014 13:09:01 +0100 Subject: Add Q_DECL_OVERRIDE in the src subdirectory Done automatically with clang-modernize on linux (But does not add Q_DECL_OVERRIDE to the function that are marked as inline because it a compilation error with MSVC2010) Change-Id: I2196ee26e3e6fe20816834ecea5ea389eeab3171 Reviewed-by: Thiago Macieira --- src/network/kernel/qdnslookup_p.h | 2 +- src/network/kernel/qhostinfo_p.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/network/kernel') diff --git a/src/network/kernel/qdnslookup_p.h b/src/network/kernel/qdnslookup_p.h index ded1e51313..d2e3f5fb02 100644 --- a/src/network/kernel/qdnslookup_p.h +++ b/src/network/kernel/qdnslookup_p.h @@ -109,7 +109,7 @@ public: , requestName(name) , nameserver(nameserver) { } - void run(); + void run() Q_DECL_OVERRIDE; signals: void finished(const QDnsLookupReply &reply); diff --git a/src/network/kernel/qhostinfo_p.h b/src/network/kernel/qhostinfo_p.h index b51773f803..e36c630b59 100644 --- a/src/network/kernel/qhostinfo_p.h +++ b/src/network/kernel/qhostinfo_p.h @@ -146,7 +146,7 @@ class QHostInfoRunnable : public QRunnable { public: QHostInfoRunnable (QString hn, int i); - void run(); + void run() Q_DECL_OVERRIDE; QString toBeLookedUp; int id; @@ -177,7 +177,7 @@ public: QHostInfoLookupManager(); ~QHostInfoLookupManager(); - void clear(); + void clear() Q_DECL_OVERRIDE; void work(); // called from QHostInfo -- cgit v1.2.3