forked from boostorg/function
Die, foo, die
[SVN r19205]
This commit is contained in:
1 parent
40c9bb204e
commit
4b830024f3
1 file changed
-1
@@ -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