aboutsummaryrefslogtreecommitdiffstats
path: root/include/threadengine.h
diff options
context:
space:
mode:
authorGravatar Peter Powell2017-11-21 13:05:17 +0000
committerGravatar Peter Powell2017-11-21 15:51:45 +0000
commit91e0af0fc4889f20d2f63426f8fe379674fc0393 (patch)
treed3e39ed4c011b42054994e48a289eee51db9d879 /include/threadengine.h
parentInherit non-core connect class settings properly. (diff)
Add the override keyword in places that it is missing.
GCCs warnings for this are much better than Clangs.
Diffstat (limited to 'include/threadengine.h')
-rw-r--r--include/threadengine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/threadengine.h b/include/threadengine.h
index fec1bbb96..964b8d796 100644
--- a/include/threadengine.h
+++ b/include/threadengine.h
@@ -108,7 +108,7 @@ class CoreExport QueuedThread : public Thread
queue.Wakeup();
queue.Unlock();
}
- virtual void SetExitFlag()
+ void SetExitFlag() CXX11_OVERRIDE
{
queue.Lock();
Thread::SetExitFlag();
@@ -157,7 +157,7 @@ class CoreExport SocketThread : public Thread
queue.Wakeup();
queue.Unlock();
}
- virtual void SetExitFlag()
+ void SetExitFlag() CXX11_OVERRIDE
{
queue.Lock();
Thread::SetExitFlag();