summaryrefslogtreecommitdiff
path: root/ace/FILE_Addr.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/FILE_Addr.i')
-rw-r--r--ace/FILE_Addr.i8
1 files changed, 3 insertions, 5 deletions
diff --git a/ace/FILE_Addr.i b/ace/FILE_Addr.i
index f364be3f719..b1f3aeb78c8 100644
--- a/ace/FILE_Addr.i
+++ b/ace/FILE_Addr.i
@@ -84,17 +84,15 @@ ACE_FILE_Addr::get_addr (void) const
// Compare two addresses for equality.
ACE_INLINE int
-ACE_FILE_Addr::operator == (const ACE_Addr &sap) const
+ACE_FILE_Addr::operator == (const ACE_FILE_Addr &sap) const
{
- return this->ACE_Addr::operator== (sap)
- && ACE_OS::strcmp (this->filename_,
- ((ACE_FILE_Addr &) sap).filename_) == 0;
+ return ACE_OS::strcmp (this->filename_, sap.filename_) == 0;
}
// Compare two addresses for inequality.
ACE_INLINE int
-ACE_FILE_Addr::operator != (const ACE_Addr &sap) const
+ACE_FILE_Addr::operator != (const ACE_FILE_Addr &sap) const
{
return !((*this) == sap); // This is lazy, of course... ;-)
}