mirror of
https://github.com/boostorg/function.git
synced 2025-07-17 14:42:10 +02:00
Die, foo, die
[SVN r19205]
This commit is contained in:
@ -23,7 +23,6 @@ struct stateless_integer_add {
|
|||||||
|
|
||||||
void* operator new(std::size_t, stateless_integer_add*)
|
void* operator new(std::size_t, stateless_integer_add*)
|
||||||
{
|
{
|
||||||
static int foo = 5;
|
|
||||||
throw std::runtime_error("Cannot allocate a stateless_integer_add");
|
throw std::runtime_error("Cannot allocate a stateless_integer_add");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user