summaryrefslogtreecommitdiff
path: root/include/modules/dns.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-11-21 13:05:17 +0000
committerPeter Powell <petpow@saberuk.com>2017-11-21 15:51:45 +0000
commit91e0af0fc4889f20d2f63426f8fe379674fc0393 (patch)
treed3e39ed4c011b42054994e48a289eee51db9d879 /include/modules/dns.h
parent3013a9dfbf0c8c980dd59183c38a702e8179ee13 (diff)
Add the override keyword in places that it is missing.
GCCs warnings for this are much better than Clangs.
Diffstat (limited to 'include/modules/dns.h')
-rw-r--r--include/modules/dns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/dns.h b/include/modules/dns.h
index f3bf45916..3db651798 100644
--- a/include/modules/dns.h
+++ b/include/modules/dns.h
@@ -191,7 +191,7 @@ namespace DNS
/** Used to time out the query, calls OnError and asks the TimerManager
* to delete this request
*/
- bool Tick(time_t now)
+ bool Tick(time_t now) CXX11_OVERRIDE
{
Query rr(this->question);
rr.error = ERROR_TIMEDOUT;