diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-17 13:17:31 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-17 13:17:31 +0100 |
commit | a466e4133b6de32437a27c2694edaeedf5a6d90c (patch) | |
tree | 314454b0bd1cbdf20980a804127e86df7524ff25 /ACE/ace/Sched_Params.inl | |
parent | 0cc148c86d67af7cc179e44f4c67a12dae60ac5b (diff) | |
download | ATCD-a466e4133b6de32437a27c2694edaeedf5a6d90c.tar.gz |
Replace auto_ptr with std::unique_ptr and remove redundant void
* ACE/Kokyu/Default_Dispatcher_Impl.cpp:
* ACE/Kokyu/Default_Dispatcher_Impl.h:
* ACE/Kokyu/Dispatcher_Task.cpp:
* ACE/Kokyu/Dispatcher_Task.h:
* ACE/Kokyu/Kokyu.cpp:
* ACE/Kokyu/Kokyu.h:
* ACE/Kokyu/Kokyu_defs.cpp:
* ACE/Kokyu/Kokyu_defs.h:
* ACE/Kokyu/Kokyu_dsrt.cpp:
* ACE/Kokyu/Kokyu_dsrt.h:
* ACE/Kokyu/tests/EDF/test.cpp:
* ACE/Kokyu/tests/FIFO/README:
* ACE/Kokyu/tests/FIFO/test.cpp:
* ACE/ace/Get_Opt.h:
* ACE/ace/Get_Opt.inl:
* ACE/ace/Malloc_T.cpp:
* ACE/ace/Malloc_T.h:
* ACE/ace/Malloc_T.inl:
* ACE/ace/Sched_Params.h:
* ACE/ace/Sched_Params.inl:
Diffstat (limited to 'ACE/ace/Sched_Params.inl')
-rw-r--r-- | ACE/ace/Sched_Params.inl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ACE/ace/Sched_Params.inl b/ACE/ace/Sched_Params.inl index 5392611ac08..1aef3ec8466 100644 --- a/ACE/ace/Sched_Params.inl +++ b/ACE/ace/Sched_Params.inl @@ -24,12 +24,12 @@ ACE_Sched_Params::ACE_Sched_Params ( { } -ACE_INLINE ACE_Sched_Params::~ACE_Sched_Params (void) +ACE_INLINE ACE_Sched_Params::~ACE_Sched_Params () { } ACE_INLINE ACE_Sched_Params::Policy -ACE_Sched_Params::policy (void) const +ACE_Sched_Params::policy () const { return this->policy_; } @@ -41,7 +41,7 @@ ACE_Sched_Params::policy (const ACE_Sched_Params::Policy policy) } ACE_INLINE ACE_Sched_Priority -ACE_Sched_Params::priority (void) const +ACE_Sched_Params::priority () const { return this->priority_; } @@ -53,7 +53,7 @@ ACE_Sched_Params::priority (const ACE_Sched_Priority priority) } ACE_INLINE int -ACE_Sched_Params::scope (void) const +ACE_Sched_Params::scope () const { return this->scope_; } @@ -65,7 +65,7 @@ ACE_Sched_Params::scope (const int scope) } ACE_INLINE const ACE_Time_Value & -ACE_Sched_Params::quantum (void) const +ACE_Sched_Params::quantum () const { return this->quantum_; } @@ -77,13 +77,13 @@ ACE_Sched_Params::quantum (const ACE_Time_Value &quant) } ACE_INLINE const ACE_Sched_Params::Policy & -ACE_Sched_Priority_Iterator::policy (void) const +ACE_Sched_Priority_Iterator::policy () const { return this->policy_; } ACE_INLINE int -ACE_Sched_Priority_Iterator::scope (void) const +ACE_Sched_Priority_Iterator::scope () const { return this->scope_; } @@ -100,24 +100,24 @@ ACE_Sched_Priority_Iterator::ACE_Sched_Priority_Iterator (const ACE_Sched_Params } ACE_INLINE -ACE_Sched_Priority_Iterator::~ACE_Sched_Priority_Iterator (void) +ACE_Sched_Priority_Iterator::~ACE_Sched_Priority_Iterator () { } ACE_INLINE int -ACE_Sched_Priority_Iterator::more (void) const +ACE_Sched_Priority_Iterator::more () const { return !this->done_; } ACE_INLINE int -ACE_Sched_Priority_Iterator::priority (void) const +ACE_Sched_Priority_Iterator::priority () const { return this->priority_; } ACE_INLINE void -ACE_Sched_Priority_Iterator::next (void) +ACE_Sched_Priority_Iterator::next () { if (this->done_) return; |