summaryrefslogtreecommitdiff
path: root/ACE/tests/Priority_Task_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Priority_Task_Test.cpp')
-rw-r--r--ACE/tests/Priority_Task_Test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ACE/tests/Priority_Task_Test.cpp b/ACE/tests/Priority_Task_Test.cpp
index 056dc2adae6..6a5f62ad7b0 100644
--- a/ACE/tests/Priority_Task_Test.cpp
+++ b/ACE/tests/Priority_Task_Test.cpp
@@ -35,7 +35,7 @@ class Priority_Task : public ACE_Task<ACE_MT_SYNCH>
{
public:
/// The constructor
- Priority_Task (void);
+ Priority_Task ();
//FUZZ: disable check_for_lack_ACE_OS
/**
@@ -46,17 +46,17 @@ public:
int open (void *);
/// Runs on a separate thread an checks the priority.
- int svc (void);
+ int svc ();
/// Returns 1 if priority was set properly, 0 otherwise.
- int succeeded (void) { return error_ == 0; }
+ int succeeded () { return error_ == 0; }
private:
int priority_;
u_int error_;
};
-Priority_Task::Priority_Task (void)
+Priority_Task::Priority_Task ()
: ACE_Task<ACE_MT_SYNCH> (ACE_Thread_Manager::instance ()),
priority_ (0),
error_ (0)
@@ -125,7 +125,7 @@ Priority_Task::open (void *arg)
}
int
-Priority_Task::svc (void)
+Priority_Task::svc ()
{
ACE_hthread_t thr_handle;
ACE_Thread::self (thr_handle);