summaryrefslogtreecommitdiff
path: root/ACE/tests/Reactor_Notify_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/Reactor_Notify_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/Reactor_Notify_Test.cpp')
-rw-r--r--ACE/tests/Reactor_Notify_Test.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ACE/tests/Reactor_Notify_Test.cpp b/ACE/tests/Reactor_Notify_Test.cpp
index b258fdfe9f4..3ea96d7e504 100644
--- a/ACE/tests/Reactor_Notify_Test.cpp
+++ b/ACE/tests/Reactor_Notify_Test.cpp
@@ -36,14 +36,14 @@ class Quiet_Notify_Tester : public ACE_Task<ACE_NULL_SYNCH>
{
public:
Quiet_Notify_Tester () : result_ (0) {}
- ~Quiet_Notify_Tester () { this->wait (); }
+ ~Quiet_Notify_Tester () override { this->wait (); }
//FUZZ: disable check_for_lack_ACE_OS
/// Start the reactor event thread.
- virtual int open (void * = 0);
+ int open (void * = 0) override;
// Run the reactor event loop.
- virtual int svc ();
+ int svc () override;
// Return the test result, 0 ok, -1 fail
int result () const { return this->result_; }
@@ -113,30 +113,30 @@ public:
const ACE_Time_Value &tv);
/// Destructor.
- ~Supplier_Task ();
+ ~Supplier_Task () override;
//FUZZ: disable check_for_lack_ACE_OS
/// Make this an Active Object.
- virtual int open (void * = 0);
+ int open (void * = 0) override;
/// Close down the supplier.
///FUZZ: enable check_for_lack_ACE_OS
- virtual int close (u_long);
+ int close (u_long) override;
/// Generates events and sends them to the <Reactor>'s <notify>
/// method.
- virtual int svc ();
+ int svc () override;
/// Releases the <waiter_> semaphore when called by the <Reactor>'s
/// notify handler.
- virtual int handle_exception (ACE_HANDLE);
+ int handle_exception (ACE_HANDLE) override;
/**
* Called every time through the main <ACE_Reactor> event loop to
* illustrate the difference between "limited" and "unlimited"
* notification.
*/
- virtual int handle_output (ACE_HANDLE);
+ int handle_output (ACE_HANDLE) override;
/// Release the <waiter_>.
void release ();
@@ -447,7 +447,7 @@ run_test (int disable_notify_pipe,
class Purged_Notify : public ACE_Event_Handler
{
- virtual int handle_exception (ACE_HANDLE = ACE_INVALID_HANDLE)
+ int handle_exception (ACE_HANDLE = ACE_INVALID_HANDLE) override
{
ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT ("Got a notify that should have been purged!\n")),