diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp b/TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp index bad8ff7df7b..04b881ae603 100644 --- a/TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp +++ b/TAO/orbsvcs/orbsvcs/Event/ECG_Reactive_ConsumerEC_Control.cpp @@ -28,7 +28,7 @@ TAO_ECG_Reactive_ConsumerEC_Control:: this->orb_->orb_core ()->reactor (); } -TAO_ECG_Reactive_ConsumerEC_Control::~TAO_ECG_Reactive_ConsumerEC_Control (void) +TAO_ECG_Reactive_ConsumerEC_Control::~TAO_ECG_Reactive_ConsumerEC_Control () { } @@ -104,7 +104,7 @@ TAO_ECG_Reactive_ConsumerEC_Control::handle_timeout ( } int -TAO_ECG_Reactive_ConsumerEC_Control::activate (void) +TAO_ECG_Reactive_ConsumerEC_Control::activate () { #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0 try @@ -134,7 +134,7 @@ TAO_ECG_Reactive_ConsumerEC_Control::activate (void) // handle_timeout uses these policies, if done in front, the channel // can crash when the timeout expires before initiazation is ready. timer_id_ = this->reactor_->schedule_timer (&this->adapter_, - 0, + nullptr, this->rate_, this->rate_); if (timer_id_ == -1) @@ -151,7 +151,7 @@ TAO_ECG_Reactive_ConsumerEC_Control::activate (void) } int -TAO_ECG_Reactive_ConsumerEC_Control::shutdown (void) +TAO_ECG_Reactive_ConsumerEC_Control::shutdown () { int r = 0; @@ -159,7 +159,7 @@ TAO_ECG_Reactive_ConsumerEC_Control::shutdown (void) r = this->reactor_->cancel_timer (timer_id_); #endif /* TAO_HAS_CORBA_MESSAGING */ - this->adapter_.reactor (0); + this->adapter_.reactor (nullptr); return r; } |