diff --git a/xpcom/glue/nsCOMArray.cpp b/xpcom/glue/nsCOMArray.cpp index 6023a58b857..71e83e287be 100644 --- a/xpcom/glue/nsCOMArray.cpp +++ b/xpcom/glue/nsCOMArray.cpp @@ -38,10 +38,8 @@ #include "nsCOMArray.h" -static PRBool AddRefObjects(void* aElement, void*); static PRBool ReleaseObjects(void* aElement, void*); - // implementations of non-trivial methods in nsCOMArray_base // copy constructor - we can't just memcpy here, because @@ -55,6 +53,7 @@ nsCOMArray_base::nsCOMArray_base(const nsCOMArray_base& aOther) PRInt32 i; for (i=0; i -class nsCOMArray : protected nsCOMArray_base +class nsCOMArray : public nsCOMArray_base { public: nsCOMArray() {}