bug# 105509 inlining nsHashKey::nsHashKey

r=dougt, sr=jband
This commit is contained in:
dp%netscape.com 2001-11-02 04:58:30 +00:00
parent 75ec4eabf5
commit 3e3319f35a
2 changed files with 7 additions and 11 deletions

View File

@ -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);

View File

@ -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);