backing out prevoius changes (unix didn't like it)

This commit is contained in:
peterl%netscape.com 1999-04-02 19:57:07 +00:00
parent 84e1d1e012
commit d5e687f7f6
3 changed files with 12 additions and 24 deletions

View File

@ -147,13 +147,8 @@ private:
public:
nsMapAttributesFunc mMapFunc;
nsIHTMLAttributes* mAttributes;
union {
struct {
PRUint32 mHashSet: 1;
PRUint32 mHashCode: 31;
};
PRUint32 mBitfiledInitializer; // this is a hack to allow initialization without pruify complaining about a UMR
};
PRUint32 mHashSet: 1;
PRUint32 mHashCode: 31;
};
AttributeKey::AttributeKey(nsMapAttributesFunc aMapFunc, nsIHTMLAttributes* aAttributes)
@ -161,7 +156,8 @@ AttributeKey::AttributeKey(nsMapAttributesFunc aMapFunc, nsIHTMLAttributes* aAtt
mAttributes(aAttributes)
{
NS_ADDREF(mAttributes);
mBitfiledInitializer = 0;
mHashSet = 0;
mHashCode = 0;
}
AttributeKey::~AttributeKey(void)

View File

@ -147,13 +147,8 @@ private:
public:
nsMapAttributesFunc mMapFunc;
nsIHTMLAttributes* mAttributes;
union {
struct {
PRUint32 mHashSet: 1;
PRUint32 mHashCode: 31;
};
PRUint32 mBitfiledInitializer; // this is a hack to allow initialization without pruify complaining about a UMR
};
PRUint32 mHashSet: 1;
PRUint32 mHashCode: 31;
};
AttributeKey::AttributeKey(nsMapAttributesFunc aMapFunc, nsIHTMLAttributes* aAttributes)
@ -161,7 +156,8 @@ AttributeKey::AttributeKey(nsMapAttributesFunc aMapFunc, nsIHTMLAttributes* aAtt
mAttributes(aAttributes)
{
NS_ADDREF(mAttributes);
mBitfiledInitializer = 0;
mHashSet = 0;
mHashCode = 0;
}
AttributeKey::~AttributeKey(void)

View File

@ -147,13 +147,8 @@ private:
public:
nsMapAttributesFunc mMapFunc;
nsIHTMLAttributes* mAttributes;
union {
struct {
PRUint32 mHashSet: 1;
PRUint32 mHashCode: 31;
};
PRUint32 mBitfiledInitializer; // this is a hack to allow initialization without pruify complaining about a UMR
};
PRUint32 mHashSet: 1;
PRUint32 mHashCode: 31;
};
AttributeKey::AttributeKey(nsMapAttributesFunc aMapFunc, nsIHTMLAttributes* aAttributes)
@ -161,7 +156,8 @@ AttributeKey::AttributeKey(nsMapAttributesFunc aMapFunc, nsIHTMLAttributes* aAtt
mAttributes(aAttributes)
{
NS_ADDREF(mAttributes);
mBitfiledInitializer = 0;
mHashSet = 0;
mHashCode = 0;
}
AttributeKey::~AttributeKey(void)