diff options
Diffstat (limited to 'TAO/tao/RTScheduling/Distributable_Thread.h')
-rw-r--r-- | TAO/tao/RTScheduling/Distributable_Thread.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/TAO/tao/RTScheduling/Distributable_Thread.h b/TAO/tao/RTScheduling/Distributable_Thread.h index 3b57102d827..dd4b9ccab81 100644 --- a/TAO/tao/RTScheduling/Distributable_Thread.h +++ b/TAO/tao/RTScheduling/Distributable_Thread.h @@ -13,23 +13,22 @@ class TAO_RTScheduler_Export TAO_DistributableThread: public ::CORBA::LocalObject { public: - TAO_DistributableThread (void); + TAO_DistributableThread () = default; - ~TAO_DistributableThread (void); + ~TAO_DistributableThread () = default; - virtual void cancel (void); + void cancel () override; - virtual RTScheduling::DistributableThread::DT_State state (void); + RTScheduling::DistributableThread::DT_State state () override; private: - RTScheduling::DistributableThread::DT_State state_; + RTScheduling::DistributableThread::DT_State state_ {RTScheduling::DistributableThread::ACTIVE}; }; - class TAO_DistributableThread_Factory { public: - static RTScheduling::DistributableThread_ptr create_DT (void); + static RTScheduling::DistributableThread_ptr create_DT (); }; TAO_END_VERSIONED_NAMESPACE_DECL |