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/DEV_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/DEV_Addr.h')
-rw-r--r-- | ace/DEV_Addr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/DEV_Addr.h b/ace/DEV_Addr.h index 1d4df8b958b..b1b06a810a5 100644 --- a/ace/DEV_Addr.h +++ b/ace/DEV_Addr.h @@ -53,10 +53,10 @@ public: virtual int addr_to_string (char *addr, size_t) const; // Transform the current address into string format. - virtual int operator == (const ACE_Addr &SAP) const; + int operator == (const ACE_DEV_Addr &SAP) const; // Compare two addresses for equality. - virtual int operator != (const ACE_Addr &SAP) const; + int operator != (const ACE_DEV_Addr &SAP) const; // Compare two addresses for inequality. LPCTSTR get_path_name (void) const; |