diff options
Diffstat (limited to 'ACEXML/common/URL_Addr.inl')
-rw-r--r-- | ACEXML/common/URL_Addr.inl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ACEXML/common/URL_Addr.inl b/ACEXML/common/URL_Addr.inl index ba6d34b5e4b..b1ac1db8322 100644 --- a/ACEXML/common/URL_Addr.inl +++ b/ACEXML/common/URL_Addr.inl @@ -1,3 +1,5 @@ +// -*- C++ -*- +// // $Id$ #include "ace/ACE.h" @@ -34,7 +36,7 @@ ACEXML_URL_Addr::hash (void) const return result; } -ACE_INLINE int +ACE_INLINE bool ACEXML_URL_Addr::operator== (const ACEXML_URL_Addr &addr) const { return ACE_OS::strcmp (addr.get_path_name (), this->get_path_name ()) == 0 @@ -42,7 +44,7 @@ ACEXML_URL_Addr::operator== (const ACEXML_URL_Addr &addr) const && addr.get_ip_address () == this->get_ip_address (); } -ACE_INLINE int +ACE_INLINE bool ACEXML_URL_Addr::operator!= (const ACEXML_URL_Addr &addr) const { return !(*this == addr); |