diff options
Diffstat (limited to 'system_wrappers/source/thread_posix.h')
-rw-r--r-- | system_wrappers/source/thread_posix.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/system_wrappers/source/thread_posix.h b/system_wrappers/source/thread_posix.h index bacf908a..c2025fd8 100644 --- a/system_wrappers/source/thread_posix.h +++ b/system_wrappers/source/thread_posix.h @@ -30,15 +30,15 @@ class ThreadPosix : public ThreadWrapper { ThreadPosix(ThreadRunFunction func, ThreadObj obj, ThreadPriority prio, const char* thread_name); - ~ThreadPosix(); + virtual ~ThreadPosix(); // From ThreadWrapper. - virtual void SetNotAlive(); - virtual bool Start(unsigned int& id); + virtual void SetNotAlive() OVERRIDE; + virtual bool Start(unsigned int& id) OVERRIDE; // Not implemented on Mac. virtual bool SetAffinity(const int* processor_numbers, - unsigned int amount_of_processors); - virtual bool Stop(); + unsigned int amount_of_processors) OVERRIDE; + virtual bool Stop() OVERRIDE; void Run(); |