diff options
Diffstat (limited to 'TAO/tao/LF_Event.cpp')
-rw-r--r-- | TAO/tao/LF_Event.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/LF_Event.cpp b/TAO/tao/LF_Event.cpp index 16139aeb985..d8cf240ce1c 100644 --- a/TAO/tao/LF_Event.cpp +++ b/TAO/tao/LF_Event.cpp @@ -10,13 +10,13 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL -TAO_LF_Event::TAO_LF_Event (void) +TAO_LF_Event::TAO_LF_Event () : state_ (TAO_LF_Event::LFS_IDLE) - , follower_ (0) + , follower_ (nullptr) { } -TAO_LF_Event::~TAO_LF_Event (void) +TAO_LF_Event::~TAO_LF_Event () { } @@ -30,7 +30,7 @@ TAO_LF_Event::state_changed (LFS_STATE new_state, TAO_Leader_Follower &lf) this->state_changed_i (new_state); /// Sort of double-checked optimization.. - if (this->follower_ != 0) + if (this->follower_ != nullptr) this->follower_->signal (); } } |