diff options
author | Knut Petter Svendsen <knut@altuma.no> | 2022-09-13 22:57:39 +0200 |
---|---|---|
committer | Knut Petter Svendsen <knut@altuma.no> | 2022-09-13 22:57:39 +0200 |
commit | 3da59eac098c1ef9d2c98f2079185ff35c3b6105 (patch) | |
tree | 379c29e09bf55597fe6740cd163478cd1204a181 /ACE/tests/Proactor_Test.h | |
parent | fe03724176dcfd20e0f9a6e493198469242be6b6 (diff) | |
download | ATCD-3da59eac098c1ef9d2c98f2079185ff35c3b6105.tar.gz |
Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'ACE/tests/Proactor_Test.h')
-rw-r--r-- | ACE/tests/Proactor_Test.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/tests/Proactor_Test.h b/ACE/tests/Proactor_Test.h index 94b51d30584..76f479df749 100644 --- a/ACE/tests/Proactor_Test.h +++ b/ACE/tests/Proactor_Test.h @@ -25,7 +25,7 @@ class Server : public ACE_Service_Handler public: Server (); Server (TestData *tester, int id); - ~Server (void); + ~Server (); int id (void) { return this->id_; } size_t get_total_snd (void) { return this->total_snd_; } @@ -57,7 +57,7 @@ protected: virtual void handle_write_stream (const ACE_Asynch_Write_Stream::Result &result); private: - int initiate_read_stream (void); + int initiate_read_stream (); int initiate_write_stream (ACE_Message_Block &mb, size_t nbytes); TestData *tester_; @@ -89,7 +89,7 @@ public: Client (); Client (TestData *tester, int id); - ~Client (void); + ~Client (); int id (void) { return this->id_; } size_t get_total_snd (void) { return this->total_snd_; } @@ -107,12 +107,12 @@ public: /// This is called when asynchronous writes from the socket complete virtual void handle_write_stream (const ACE_Asynch_Write_Stream::Result &result); - void cancel (void); + void cancel (); private: - int initiate_read_stream (void); - int initiate_write_stream (void); - void close (void); + int initiate_read_stream (); + int initiate_write_stream (); + void close (); TestData *tester_; int id_; |