forked from boostorg/container
Fixes #200 (Warning)
This commit is contained in:
@ -54,11 +54,10 @@ struct null_memory_resource_imp
|
||||
(void)bytes; (void)alignment;
|
||||
#if defined(BOOST_CONTAINER_USER_DEFINED_THROW_CALLBACKS) || defined(BOOST_NO_EXCEPTIONS)
|
||||
throw_bad_alloc();
|
||||
return 0;
|
||||
#else
|
||||
throw std::bad_alloc();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void do_deallocate(void* p, std::size_t bytes, std::size_t alignment) BOOST_OVERRIDE
|
||||
|
Reference in New Issue
Block a user