summaryrefslogtreecommitdiff
path: root/ACE/tests/Priority_Task_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 08:04:35 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 08:04:35 +0100
commit9027b24610848c0eb0d768b60b132ce9e09dee7d (patch)
treef2b313d8110861616f330776f20f1df0c348cc0b /ACE/tests/Priority_Task_Test.cpp
parentcfb87b202043d9f6b5532f3e3e4e431f6ced4c0b (diff)
downloadATCD-9027b24610848c0eb0d768b60b132ce9e09dee7d.tar.gz
Removed redundant void
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);