Bug 312226: Fix minor things i missed in last patch.

r/sr=jag
This commit is contained in:
cvshook%sicking.cc 2005-11-02 16:05:26 +00:00
Родитель b3322114f4
Коммит e8546826a1
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -133,10 +133,10 @@ protected:
struct Impl {
/**
* Packed bits. The low 31 bits are the array's size.
* The highest bit is a flag that indicates
* whether or not we "own" mArray, and must free() it when
* destroyed.
* Packed bits. The low 30 bits are the array's size.
* The two highest bits indicate whether or not we "own" mImpl and
* must free() it when destroyed, and whether we have a preallocated
* nsAutoVoidArray buffer.
*/
PRUint32 mBits;
@ -211,7 +211,7 @@ class NS_COM nsStringArray: private nsVoidArray
public:
nsStringArray(void);
nsStringArray(PRInt32 aCount); // Storage for aCount elements will be pre-allocated
virtual ~nsStringArray(void);
~nsStringArray(void);
nsStringArray& operator=(const nsStringArray& other);
@ -260,7 +260,7 @@ typedef int (* PR_CALLBACK nsCStringArrayComparatorFunc)
typedef PRBool (*nsCStringArrayEnumFunc)(nsCString& aElement, void *aData);
class NS_COM nsCStringArray: protected nsVoidArray
class NS_COM nsCStringArray: private nsVoidArray
{
public:
nsCStringArray(void);