summaryrefslogtreecommitdiff
path: root/ACE/tests/Reactor_Notification_Queue_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Reactor_Notification_Queue_Test.cpp')
-rw-r--r--ACE/tests/Reactor_Notification_Queue_Test.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/tests/Reactor_Notification_Queue_Test.cpp b/ACE/tests/Reactor_Notification_Queue_Test.cpp
index dbe20b09708..47bdfe3c429 100644
--- a/ACE/tests/Reactor_Notification_Queue_Test.cpp
+++ b/ACE/tests/Reactor_Notification_Queue_Test.cpp
@@ -28,10 +28,10 @@ public:
char const *test_name);
/// Run the test
- void run(void);
+ void run();
/// Receive the notifications.
- virtual int handle_exception(ACE_HANDLE);
+ int handle_exception(ACE_HANDLE) override;
private:
/**
@@ -40,12 +40,12 @@ private:
* Each iteration of the test consists of sending multiple
* notifications simultaneously.
*/
- void send_notifications (void);
+ void send_notifications ();
/**
* @brief Return true if the test is finished.
*/
- bool done (void) const;
+ bool done () const;
private:
/**
@@ -142,7 +142,7 @@ Event_Handler::Event_Handler (
}
void
-Event_Handler::run (void)
+Event_Handler::run ()
{
send_notifications ();
@@ -189,7 +189,7 @@ Event_Handler::handle_exception (ACE_HANDLE)
}
void
-Event_Handler::send_notifications (void)
+Event_Handler::send_notifications ()
{
for (int i = 0; i != notifications_curr_; ++i)
{
@@ -210,7 +210,7 @@ Event_Handler::send_notifications (void)
}
bool
-Event_Handler::done (void) const
+Event_Handler::done () const
{
return (notifications_curr_ >= max_notifications_)
&& (notifications_sent_ == notifications_recv_);