зеркало из https://github.com/mozilla/gecko-dev.git
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.
This commit is contained in:
Родитель
1b458b393b
Коммит
32e2ad6d6b
|
@ -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) { };
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче