forked from boostorg/function
Suppress warnings on HP aCC
[SVN r16515]
This commit is contained in:
1 parent
949a459d8a
commit
06539c093f
1 file changed
+1
@@ -24,6 +24,7 @@ struct stateless_integer_add {
|
||||
void* operator new(std::size_t, stateless_integer_add*)
|
||||
{
|
||||
throw std::runtime_error("Cannot allocate a stateless_integer_add");
|
||||
return 0; // suppress warnings
|
||||
}
|
||||
|
||||
void operator delete(void*, stateless_integer_add*)
|
||||
|
||||
Reference in new issue
Block a user