summaryrefslogtreecommitdiff
path: root/ace/Addr.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1997-11-07 03:21:52 +0000
committerSteve Huston <shuston@riverace.com>1997-11-07 03:21:52 +0000
commita17646afec6e82dab9b7f5dee600ad764477bc72 (patch)
treef1ce04c7655a9c28f7233f12ad5dc253e5d32d8e /ace/Addr.h
parent06cfc98eedbedb12028c0520095d9d5e9617ba0e (diff)
downloadATCD-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/Addr.h')
-rw-r--r--ace/Addr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Addr.h b/ace/Addr.h
index b7c4d5b3c5a..e8a03e6ad13 100644
--- a/ace/Addr.h
+++ b/ace/Addr.h
@@ -27,7 +27,7 @@ class ACE_Export ACE_Addr
public:
// = Initialization method.
- ACE_Addr (int type = 0, int size = 0);
+ ACE_Addr (int type = -1, int size = -1);
// Initializes instance variables.
// = Get/set the size of the address.
@@ -53,10 +53,10 @@ public:
// Set a pointer to the address.
// = Equality/inequality tests
- virtual int operator == (const ACE_Addr &sap) const;
+ int operator == (const ACE_Addr &sap) const;
// Check for address equality.
- virtual int operator != (const ACE_Addr &sap) const;
+ int operator != (const ACE_Addr &sap) const;
// Check for address inequality.
void base_set (int type, int size);