Fixed warning.

git-svn-id: svn://10.0.0.236/trunk@101865 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com 2001-08-28 00:52:16 +00:00
parent 5ab3c3281f
commit ce4e261b12

View File

@ -808,7 +808,7 @@ XXX ...couldn't get this to work...
class JSArrayType : public JSType {
public:
JSArrayType(Context *cx, JSType *elementType, const StringAtom *name, JSType *super)
: mElementType(elementType), JSType(cx, name, super)
: JSType(cx, name, super), mElementType(elementType)
{
}
virtual ~JSArrayType() { } // keeping gcc happy