diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-04-23 06:19:12 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-04-23 06:19:12 +0000 |
commit | 2f135d5392b97372f236dd0f91563f12bfbf8976 (patch) | |
tree | ce77feb2f063a118db101d355260890eb6f92ad4 /TAO/tao/PortableServer/POA.i | |
parent | ff74bf67982d8d6f172e87c20541e38538f51d4d (diff) | |
download | ATCD-2f135d5392b97372f236dd0f91563f12bfbf8976.tar.gz |
ChangeLogTag:Thu Apr 22 23:15:20 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/PortableServer/POA.i')
-rw-r--r-- | TAO/tao/PortableServer/POA.i | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/tao/PortableServer/POA.i b/TAO/tao/PortableServer/POA.i index b838f2df652..761d5d67c13 100644 --- a/TAO/tao/PortableServer/POA.i +++ b/TAO/tao/PortableServer/POA.i @@ -52,12 +52,12 @@ TAO_Creation_Time::creation_time (void) const return &this->time_stamp_; } -ACE_INLINE int +ACE_INLINE bool TAO_Creation_Time::operator== (const TAO_Creation_Time &rhs) const { #if (POA_NO_TIMESTAMP == 1) ACE_UNUSED_ARG (rhs); - return 1; + return true; #else return ACE_OS::memcmp (&this->time_stamp_, &rhs.time_stamp_, @@ -65,12 +65,12 @@ TAO_Creation_Time::operator== (const TAO_Creation_Time &rhs) const #endif /* POA_NO_TIMESTAMP */ } -ACE_INLINE int +ACE_INLINE bool TAO_Creation_Time::operator!= (const TAO_Creation_Time &rhs) const { #if (POA_NO_TIMESTAMP == 1) ACE_UNUSED_ARG (rhs); - return 0; + return false; #else return ACE_OS::memcmp (&this->time_stamp_, &rhs.time_stamp_, @@ -78,12 +78,12 @@ TAO_Creation_Time::operator!= (const TAO_Creation_Time &rhs) const #endif /* POA_NO_TIMESTAMP */ } -ACE_INLINE int +ACE_INLINE bool TAO_Temporary_Creation_Time::operator== (const TAO_Creation_Time &rhs) const { #if (POA_NO_TIMESTAMP == 1) ACE_UNUSED_ARG (rhs); - return 1; + return true; #else return ACE_OS::memcmp (this->time_stamp_, rhs.creation_time (), @@ -91,12 +91,12 @@ TAO_Temporary_Creation_Time::operator== (const TAO_Creation_Time &rhs) const #endif /* POA_NO_TIMESTAMP */ } -ACE_INLINE int +ACE_INLINE bool TAO_Temporary_Creation_Time::operator!= (const TAO_Creation_Time &rhs) const { #if (POA_NO_TIMESTAMP == 1) ACE_UNUSED_ARG (rhs); - return 0; + return false; #else return ACE_OS::memcmp (this->time_stamp_, rhs.creation_time (), @@ -104,13 +104,13 @@ TAO_Temporary_Creation_Time::operator!= (const TAO_Creation_Time &rhs) const #endif /* POA_NO_TIMESTAMP */ } -ACE_INLINE int +ACE_INLINE bool TAO_Creation_Time::operator== (const TAO_Temporary_Creation_Time &rhs) const { return rhs == *this; } -ACE_INLINE int +ACE_INLINE bool TAO_Creation_Time::operator!= (const TAO_Temporary_Creation_Time &rhs) const { return rhs != *this; |