Remove return statement from operator new to see who screams about it
[SVN r19178]
This commit is contained in:
parent
1ef5f459e2
commit
5347683c8e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user