forked from boostorg/container
Fixed Trac #11698 ("Missing return statement in static_storage_allocator")
This commit is contained in:
@@ -48,7 +48,7 @@ class static_storage_allocator
|
||||
{}
|
||||
|
||||
static_storage_allocator & operator=(const static_storage_allocator &) BOOST_NOEXCEPT_OR_NOTHROW
|
||||
{}
|
||||
{ return *this; }
|
||||
|
||||
T* internal_storage() const BOOST_NOEXCEPT_OR_NOTHROW
|
||||
{ return const_cast<T*>(static_cast<const T*>(static_cast<const void*>(&storage))); }
|
||||
|
||||
Reference in New Issue
Block a user