forked from boostorg/container
Fixed Trac #11698 ("Missing return statement in static_storage_allocator")
This commit is contained in:
1 parent
79274e4aae
commit
f8a4f01a86
2 files changed
+2
-1
No files matched your search
@@ -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