fixes bug 241876 "nsIDHashKey does not define a KeyEquals method" r+sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177582 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -235,7 +235,8 @@ public:
|
||||
|
||||
KeyType GetKey() const { return mID; }
|
||||
KeyTypePointer GetKeyPointer() const { return &mID; }
|
||||
PRBool operator==(KeyTypePointer aKey) const { return aKey->Equals(mID); }
|
||||
|
||||
PRBool KeyEquals(KeyTypePointer aKey) const { return aKey->Equals(mID); }
|
||||
|
||||
static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; }
|
||||
static PLDHashNumber HashKey(KeyTypePointer aKey);
|
||||
|
||||
Reference in New Issue
Block a user