Remove return statement from operator new to see who screams about it

[SVN r19178]
This commit is contained in:
Douglas Gregor 2003-07-18 04:17:30 +00:00
parent 1ef5f459e2
commit 5347683c8e

View File

@ -25,7 +25,6 @@ struct stateless_integer_add {
{
static int foo = 5;
throw std::runtime_error("Cannot allocate a stateless_integer_add");
return &foo; // suppress warnings
}
void operator delete(void*, stateless_integer_add*) throw()