summaryrefslogtreecommitdiff
path: root/ACE/tests/Task_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 14:18:25 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 14:18:25 +0100
commit850b8c2db82b57e489ea352536a3c79898a1c655 (patch)
tree292d697969af7e7612f4f1e976711a8f4b0c25ff /ACE/tests/Task_Test.cpp
parentdfbe26383cee15ab6859137759b52e86c8888ffe (diff)
downloadATCD-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.cpp8
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