diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 15:59:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 15:59:50 +0100 |
commit | e05eb413c59f589e7d4192af7e12eb777017bd70 (patch) | |
tree | e0e30afc85e8167332dcf90eae01db949fe1ed6a /ACE/tests/Refcounted_Auto_Ptr_Test.cpp | |
parent | a30b3586e9fbf13b7151e387a37eb59cf0571263 (diff) | |
parent | 850b8c2db82b57e489ea352536a3c79898a1c655 (diff) | |
download | ATCD-e05eb413c59f589e7d4192af7e12eb777017bd70.tar.gz |
Merge pull request #1338 from jwillemsen/jwi-acetestsoverride
Make use of override where it should be used instead of virtual
Diffstat (limited to 'ACE/tests/Refcounted_Auto_Ptr_Test.cpp')
-rw-r--r-- | ACE/tests/Refcounted_Auto_Ptr_Test.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ACE/tests/Refcounted_Auto_Ptr_Test.cpp b/ACE/tests/Refcounted_Auto_Ptr_Test.cpp index d251793a8cc..e66449d255e 100644 --- a/ACE/tests/Refcounted_Auto_Ptr_Test.cpp +++ b/ACE/tests/Refcounted_Auto_Ptr_Test.cpp @@ -75,14 +75,14 @@ public: //FUZZ: disable check_for_lack_ACE_OS /// Initializer. - virtual int open (void *args = 0); + int open (void *args = 0) override; /// Terminator. - virtual int close (u_long flags = 0); + int close (u_long flags = 0) override; //FUZZ: enable check_for_lack_ACE_OS /// Destructor. - virtual ~Scheduler (); + ~Scheduler () override; // = These methods are part of the Active Object Proxy interface. void print (Printer_var &printer); @@ -91,7 +91,7 @@ public: protected: /// Runs the Scheduler's event loop, which dequeues <Method_Requests> /// and dispatches them. - virtual int svc (); + int svc () override; private: // = These are the <Scheduler> implementation details. @@ -107,10 +107,10 @@ class Method_Request_print : public ACE_Method_Request { public: explicit Method_Request_print (Printer_var &printer); - virtual ~Method_Request_print (); + ~Method_Request_print () override; /// This is the entry point into the Active Object method. - virtual int call (); + int call () override; private: Printer_var printer_; @@ -156,8 +156,8 @@ class Method_Request_end : public ACE_Method_Request { public: Method_Request_end (Scheduler *new_Prime_Scheduler); - virtual ~Method_Request_end (); - virtual int call (); + ~Method_Request_end () override; + int call () override; private: Scheduler *scheduler_; |