diff options
author | Knut Petter Svendsen <knut@altuma.no> | 2022-09-19 14:37:02 +0200 |
---|---|---|
committer | Knut Petter Svendsen <knut@altuma.no> | 2022-09-22 16:20:53 +0200 |
commit | 2aab75d5fddc126e8085c70fe8e1b875b75a30ef (patch) | |
tree | 82498955ff2b3829d6597ed88a9eca1b1705df96 /TAO/tao/RTScheduling/RTScheduler_Manager.inl | |
parent | 5e96bb28fc7572f39b63ac2aca72800c45cdb1ee (diff) | |
download | ATCD-2aab75d5fddc126e8085c70fe8e1b875b75a30ef.tar.gz |
Part 2: Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'TAO/tao/RTScheduling/RTScheduler_Manager.inl')
-rw-r--r-- | TAO/tao/RTScheduling/RTScheduler_Manager.inl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/tao/RTScheduling/RTScheduler_Manager.inl b/TAO/tao/RTScheduling/RTScheduler_Manager.inl index 7c8698b9c60..cefa3b75997 100644 --- a/TAO/tao/RTScheduling/RTScheduler_Manager.inl +++ b/TAO/tao/RTScheduling/RTScheduler_Manager.inl @@ -9,7 +9,7 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL // ************************************************************* ACE_INLINE -TAO_RTScheduler_Manager_var::TAO_RTScheduler_Manager_var (void) +TAO_RTScheduler_Manager_var::TAO_RTScheduler_Manager_var () : ptr_ (TAO_RTScheduler_Manager::_nil ()) {} @@ -33,7 +33,7 @@ TAO_RTScheduler_Manager_var::TAO_RTScheduler_Manager_var ( {} ACE_INLINE -TAO_RTScheduler_Manager_var::~TAO_RTScheduler_Manager_var (void) +TAO_RTScheduler_Manager_var::~TAO_RTScheduler_Manager_var () { CORBA::release (this->ptr_); } @@ -83,13 +83,13 @@ TAO_RTScheduler_Manager_var::in () const } ACE_INLINE ::TAO_RTScheduler_Manager_ptr & -TAO_RTScheduler_Manager_var::inout (void) +TAO_RTScheduler_Manager_var::inout () { return this->ptr_; } ACE_INLINE ::TAO_RTScheduler_Manager_ptr & -TAO_RTScheduler_Manager_var::out (void) +TAO_RTScheduler_Manager_var::out () { CORBA::release (this->ptr_); this->ptr_ = ::TAO_RTScheduler_Manager::_nil (); @@ -97,7 +97,7 @@ TAO_RTScheduler_Manager_var::out (void) } ACE_INLINE ::TAO_RTScheduler_Manager_ptr -TAO_RTScheduler_Manager_var::_retn (void) +TAO_RTScheduler_Manager_var::_retn () { // yield ownership of managed obj reference ::TAO_RTScheduler_Manager_ptr val = this->ptr_; @@ -118,7 +118,7 @@ TAO_RTScheduler_Manager_var::release (TAO_RTScheduler_Manager_ptr p) } ACE_INLINE ::TAO_RTScheduler_Manager_ptr -TAO_RTScheduler_Manager_var::nil (void) +TAO_RTScheduler_Manager_var::nil () { return ::TAO_RTScheduler_Manager::_nil (); } @@ -192,13 +192,13 @@ TAO_RTScheduler_Manager_out::operator ::TAO_RTScheduler_Manager_ptr &() // cast } ACE_INLINE ::TAO_RTScheduler_Manager_ptr & -TAO_RTScheduler_Manager_out::ptr (void) // ptr +TAO_RTScheduler_Manager_out::ptr () // ptr { return this->ptr_; } ACE_INLINE ::TAO_RTScheduler_Manager_ptr -TAO_RTScheduler_Manager_out::operator-> (void) +TAO_RTScheduler_Manager_out::operator-> () { return this->ptr_; } @@ -211,7 +211,7 @@ TAO_RTScheduler_Manager::TAO_RTScheduler_Manager (TAO_ORB_Core* orb) } ACE_INLINE RTScheduling::Scheduler_ptr -TAO_RTScheduler_Manager::rtscheduler (void) +TAO_RTScheduler_Manager::rtscheduler () { return RTScheduling::Scheduler::_duplicate (this->rtscheduler_.in()); } |