From 3da59eac098c1ef9d2c98f2079185ff35c3b6105 Mon Sep 17 00:00:00 2001 From: Knut Petter Svendsen Date: Tue, 13 Sep 2022 22:57:39 +0200 Subject: Remove obsolescent (void) in functions with no parameters --- ACE/examples/Connection/blocking/SPIPE-acceptor.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ACE/examples/Connection/blocking/SPIPE-acceptor.cpp') 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) -- cgit v1.2.1