summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.cpp
index 6e93808d5e5..a64fc8b06f1 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.cpp
@@ -39,7 +39,7 @@ TAO_EC_Negation_Filter::filter (const RtecEventComm::EventSet& event,
{
int n =
this->child_->filter (event, qos_info);
- if (this->parent () != 0 && n == 0)
+ if (this->parent () != nullptr && n == 0)
{
this->parent ()->push (event, qos_info);
return 1;
@@ -53,7 +53,7 @@ TAO_EC_Negation_Filter::filter_nocopy (RtecEventComm::EventSet& event,
{
int n =
this->child_->filter_nocopy (event, qos_info);
- if (this->parent () != 0 && n == 0)
+ if (this->parent () != nullptr && n == 0)
{
this->parent ()->push_nocopy (event, qos_info);
return 1;