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/examples/Connection/blocking/SPIPE-acceptor.cpp | |
parent | fe03724176dcfd20e0f9a6e493198469242be6b6 (diff) | |
download | ATCD-3da59eac098c1ef9d2c98f2079185ff35c3b6105.tar.gz |
Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'ACE/examples/Connection/blocking/SPIPE-acceptor.cpp')
-rw-r--r-- | ACE/examples/Connection/blocking/SPIPE-acceptor.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/examples/Connection/blocking/SPIPE-acceptor.cpp b/ACE/examples/Connection/blocking/SPIPE-acceptor.cpp index 310ee23b1b6..c0722d5ebda 100644 --- a/ACE/examples/Connection/blocking/SPIPE-acceptor.cpp +++ b/ACE/examples/Connection/blocking/SPIPE-acceptor.cpp @@ -12,14 +12,14 @@ #if defined (ACE_HAS_WIN32_OVERLAPPED_IO) || defined (ACE_HAS_AIO_CALLS) -Svc_Handler::Svc_Handler (void) +Svc_Handler::Svc_Handler () : mb_ (BUFSIZ + 1) { // An extra byte for null termination. this->mb_.size (BUFSIZ); } -Svc_Handler::~Svc_Handler (void) +Svc_Handler::~Svc_Handler () { } @@ -60,14 +60,14 @@ Svc_Handler::handle_read_stream (const ACE_Asynch_Read_Stream::Result &result) ACE_Proactor::end_event_loop (); } -IPC_Server::IPC_Server (void) +IPC_Server::IPC_Server () : n_threads_ (1), shutdown_ (0) { ACE_OS::strcpy (rendezvous_, ACE_TEXT ("acepipe")); } -IPC_Server::~IPC_Server (void) +IPC_Server::~IPC_Server () { } @@ -108,7 +108,7 @@ IPC_Server::init (int argc, ACE_TCHAR *argv[]) } int -IPC_Server::fini (void) +IPC_Server::fini () { return 0; } @@ -159,7 +159,7 @@ run_reactor_event_loop (void *) } int -IPC_Server::svc (void) +IPC_Server::svc () { // Performs the iterative server activities. while (this->shutdown_ == 0) |