summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp
index 51ffb0ffd78..59698a88284 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.cpp
@@ -18,7 +18,7 @@ TAO_EC_ProxyPushConsumer::
: event_channel_ (ec),
ec_refcount_ (1),
connected_ (false),
- filter_ (0)
+ filter_ (nullptr)
{
this->lock_ =
this->event_channel_->create_consumer_lock ();
@@ -46,7 +46,7 @@ TAO_EC_ProxyPushConsumer::supplier_non_existent (
ACE_Lock, ace_mon, *this->lock_,
CORBA::INTERNAL ());
- disconnected = 0;
+ disconnected = false;
if (!this->is_connected_i ())
{
disconnected = true;
@@ -140,7 +140,7 @@ TAO_EC_ProxyPushConsumer::shutdown ()
this->shutdown_hook ();
- if (this->filter_ != 0)
+ if (this->filter_ != nullptr)
{
this->filter_->shutdown ();
@@ -171,11 +171,11 @@ TAO_EC_ProxyPushConsumer::cleanup_i ()
RtecEventComm::PushSupplier::_nil ();
this->connected_ = false;
- if (this->filter_ != 0)
+ if (this->filter_ != nullptr)
{
this->filter_->unbind (this);
this->filter_->_decr_refcnt ();
- this->filter_ = 0;
+ this->filter_ = nullptr;
}
}