mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 10:08:41 +00:00
bug# 105509 inlining nsHashKey::nsHashKey
r=dougt, sr=jband
This commit is contained in:
parent
75ec4eabf5
commit
3e3319f35a
@ -202,16 +202,6 @@ static PRIntn PR_CALLBACK _hashEnumerate(PLHashEntry *he, PRIntn i, void *arg)
|
||||
// HashKey
|
||||
//
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsHashKey)
|
||||
|
||||
nsHashKey::nsHashKey(void)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
mKeyType = UnknownKey;
|
||||
#endif
|
||||
MOZ_COUNT_CTOR(nsHashKey);
|
||||
}
|
||||
|
||||
nsHashKey::~nsHashKey(void)
|
||||
{
|
||||
MOZ_COUNT_DTOR(nsHashKey);
|
||||
|
@ -47,7 +47,13 @@ class nsStringKey;
|
||||
|
||||
class NS_COM nsHashKey {
|
||||
protected:
|
||||
nsHashKey(void);
|
||||
nsHashKey(void) {
|
||||
#ifdef DEBUG
|
||||
mKeyType = UnknownKey;
|
||||
#endif
|
||||
MOZ_COUNT_CTOR(nsHashKey);
|
||||
}
|
||||
|
||||
|
||||
public:
|
||||
virtual ~nsHashKey(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user