Fixed Trac #11698 ("Missing return statement in static_storage_allocator")

This commit is contained in:
Ion Gaztañaga committed 2015-09-30 22:39:44 +02:00
1 parent 79274e4aae
commit f8a4f01a86
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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))); }