virtual ~nsStringEnumerator() {
~nsStringEnumerator() {
    virtual ~nsStringEnumerator() {        if (mOwnsArray) {            // const-casting is safe here, because the NS_New*            // constructors make sure mOwnsArray is consistent with            // the constness of the objects            if (mIsUnicode)                delete NS_CONST_CAST(nsStringArray*,mArray);            else                delete NS_CONST_CAST(nsCStringArray*,mCArray);        }    }