From 32e2ad6d6b5145cfa70d234ce67eb5059d12f1fa Mon Sep 17 00:00:00 2001 From: "shaver%mozilla.org" Date: Tue, 30 Apr 2002 12:44:49 +0000 Subject: [PATCH] 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. --- content/xul/content/src/nsXULAttributes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/xul/content/src/nsXULAttributes.h b/content/xul/content/src/nsXULAttributes.h index e981621b0608..539dcf6f36d7 100644 --- a/content/xul/content/src/nsXULAttributes.h +++ b/content/xul/content/src/nsXULAttributes.h @@ -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) { }; };