diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 14:18:25 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 14:18:25 +0100 |
commit | 850b8c2db82b57e489ea352536a3c79898a1c655 (patch) | |
tree | 292d697969af7e7612f4f1e976711a8f4b0c25ff /ACE/tests/Task_Test.cpp | |
parent | dfbe26383cee15ab6859137759b52e86c8888ffe (diff) | |
download | ATCD-850b8c2db82b57e489ea352536a3c79898a1c655.tar.gz |
Make use of override where it should be used instead of virtual
Diffstat (limited to 'ACE/tests/Task_Test.cpp')
-rw-r--r-- | ACE/tests/Task_Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/tests/Task_Test.cpp b/ACE/tests/Task_Test.cpp index de05a529df7..29168a8a423 100644 --- a/ACE/tests/Task_Test.cpp +++ b/ACE/tests/Task_Test.cpp @@ -30,8 +30,8 @@ static ACE_Atomic_Op<ACE_Thread_Mutex, int> close_cleanups (0); class My_Thread_Hook : public ACE_Thread_Hook { public: - virtual ACE_THR_FUNC_RETURN start (ACE_THR_FUNC func, - void *arg); + ACE_THR_FUNC_RETURN start (ACE_THR_FUNC func, + void *arg) override; }; class Barrier_Task : public ACE_Task<ACE_MT_SYNCH> @@ -43,11 +43,11 @@ public: //FUZZ: disable check_for_lack_ACE_OS ///FUZZ: enable check_for_lack_ACE_OS - virtual int close (u_long flags = 0); + int close (u_long flags = 0) override; /// Iterate <n_iterations> time printing off a message and "waiting" /// for all other threads to complete this iteration. - virtual int svc (); + int svc () override; private: /// Reference to the tester barrier. This controls each iteration of |