mirror of
https://github.com/boostorg/function.git
synced 2025-07-16 22:22:12 +02:00
Suppress warnings on HP aCC
[SVN r17089]
This commit is contained in:
@ -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*) throw()
|
||||
|
Reference in New Issue
Block a user