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/Proactor_File_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/Proactor_File_Test.cpp')
-rw-r--r-- | ACE/tests/Proactor_File_Test.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/tests/Proactor_File_Test.cpp b/ACE/tests/Proactor_File_Test.cpp index 0181d114995..39614badfa5 100644 --- a/ACE/tests/Proactor_File_Test.cpp +++ b/ACE/tests/Proactor_File_Test.cpp @@ -46,24 +46,24 @@ class FileIOHandler : public ACE_Handler { public: FileIOHandler (); - virtual ~FileIOHandler (); + ~FileIOHandler () override; int Connect(); // This method will be called when an asynchronous read // completes on a file. - virtual void - handle_read_file(const ACE_Asynch_Read_File::Result &result); + void + handle_read_file(const ACE_Asynch_Read_File::Result &result) override; // This method will be called when an asynchronous write // completes on a file. - virtual void - handle_write_file(const ACE_Asynch_Write_File::Result &result); + void + handle_write_file(const ACE_Asynch_Write_File::Result &result) override; // Callback hook invoked by the Proactor's Timer_Queue. - virtual void - handle_time_out(const ACE_Time_Value &tv, const void *arg); + void + handle_time_out(const ACE_Time_Value &tv, const void *arg) override; // Our I/O objects; they're public so others can access them ACE_Asynch_Read_File reader_; |