diff options
author | Steve Huston <shuston@riverace.com> | 1997-11-07 03:21:52 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1997-11-07 03:21:52 +0000 |
commit | a17646afec6e82dab9b7f5dee600ad764477bc72 (patch) | |
tree | f1ce04c7655a9c28f7233f12ad5dc253e5d32d8e /ace/INET_Addr.h | |
parent | 06cfc98eedbedb12028c0520095d9d5e9617ba0e (diff) | |
download | ATCD-a17646afec6e82dab9b7f5dee600ad764477bc72.tar.gz |
Changed operators == and != to be non-virtual, and to take the 'sap' argument
as their own type (not ACE_Addr). Changed the implementations to use more
of the type-specific data.
Diffstat (limited to 'ace/INET_Addr.h')
-rw-r--r-- | ace/INET_Addr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/INET_Addr.h b/ace/INET_Addr.h index 8fa8b80c7d4..7016d2a10d9 100644 --- a/ace/INET_Addr.h +++ b/ace/INET_Addr.h @@ -144,11 +144,11 @@ public: // Return the 4-byte IP address, converting it into host byte // order. - virtual int operator == (const ACE_Addr &SAP) const; + int operator == (const ACE_INET_Addr &SAP) const; // Compare two addresses for equality. The addresses are considered // equal if they contain the same IP address and port number. - virtual int operator != (const ACE_Addr &SAP) const; + int operator != (const ACE_INET_Addr &SAP) const; // Compare two addresses for inequality. void dump (void) const; |