Fix Forte bustage resulting from fix for 124335 (private, unused |operator new|

not returning a value).  Trading for warnings on gcc, which would really
rather have me throw an exception.


git-svn-id: svn://10.0.0.236/trunk@120295 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shaver%mozilla.org 2002-04-30 12:44:49 +00:00
parent 6665e83c18
commit af624f98f5

View File

@ -203,7 +203,7 @@ protected:
nsAutoVoidArray mAttributes;
private:
// Hide so that all construction and destruction use Create and Destroy.
static void *operator new(size_t) { };
static void *operator new(size_t) { return 0; };
static void operator delete(void *, size_t) { };
};