summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/EventType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/EventType.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/EventType.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/EventType.cpp b/TAO/orbsvcs/orbsvcs/Notify/EventType.cpp
index e86593e9583..3ad1b7d988c 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/EventType.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/EventType.cpp
@@ -104,8 +104,8 @@ TAO_Notify_EventType::operator==(const TAO_Notify_EventType& event_type) const
if (this->hash () != event_type.hash ())
return false;
else // compare the strings
- return (ACE_OS::strcmp (this->event_type_.type_name, event_type.event_type_.type_name) == 0 &&
- ACE_OS::strcmp (this->event_type_.domain_name, event_type.event_type_.domain_name) == 0
+ return (ACE_OS::strcmp (this->event_type_.type_name.in(), event_type.event_type_.type_name.in()) == 0 &&
+ ACE_OS::strcmp (this->event_type_.domain_name.in(), event_type.event_type_.domain_name.in()) == 0
);
}
@@ -115,8 +115,8 @@ TAO_Notify_EventType::operator!=(const TAO_Notify_EventType& event_type) const
if (this->hash () != event_type.hash ())
return true;
else // compare the strings
- return (ACE_OS::strcmp (this->event_type_.type_name, event_type.event_type_.type_name) != 0 ||
- ACE_OS::strcmp (this->event_type_.domain_name, event_type.event_type_.domain_name) != 0
+ return (ACE_OS::strcmp (this->event_type_.type_name.in(), event_type.event_type_.type_name.in()) != 0 ||
+ ACE_OS::strcmp (this->event_type_.domain_name.in(), event_type.event_type_.domain_name.in()) != 0
);
}
@@ -124,12 +124,12 @@ CORBA::Boolean
TAO_Notify_EventType::is_special (void) const
{
if ((this->event_type_.domain_name == 0 ||
- ACE_OS::strcmp (this->event_type_.domain_name, "") == 0 ||
- ACE_OS::strcmp (this->event_type_.domain_name, "*") == 0) &&
+ ACE_OS::strcmp (this->event_type_.domain_name.in(), "") == 0 ||
+ ACE_OS::strcmp (this->event_type_.domain_name.in(), "*") == 0) &&
(this->event_type_.type_name == 0 ||
- ACE_OS::strcmp (this->event_type_.type_name, "") == 0 ||
- ACE_OS::strcmp (this->event_type_.type_name, "*") == 0 ||
- ACE_OS::strcmp (this->event_type_.type_name, "%ALL") == 0))
+ ACE_OS::strcmp (this->event_type_.type_name.in(), "") == 0 ||
+ ACE_OS::strcmp (this->event_type_.type_name.in(), "*") == 0 ||
+ ACE_OS::strcmp (this->event_type_.type_name.in(), "%ALL") == 0))
return 1;
else
return 0;