diff options
Diffstat (limited to 'ACE/tests/Task_Test.cpp')
-rw-r--r-- | ACE/tests/Task_Test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ACE/tests/Task_Test.cpp b/ACE/tests/Task_Test.cpp index 967fa03f5fb..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 (void); + int svc () override; private: /// Reference to the tester barrier. This controls each iteration of @@ -94,7 +94,7 @@ Barrier_Task::close (u_long) // Iterate <n_iterations> time printing off a message and "waiting" // for all other threads to complete this iteration. int -Barrier_Task::svc (void) +Barrier_Task::svc () { for (int iterations = 1; iterations <= this->n_iterations_; |