mirror of
https://github.com/boostorg/optional.git
synced 2025-07-23 17:17:17 +02:00
extended speculative fix to more MSVC compilers
This commit is contained in:
@ -560,7 +560,7 @@ class optional_base : public optional_tag
|
|||||||
|
|
||||||
private :
|
private :
|
||||||
|
|
||||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1400)
|
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1600)
|
||||||
void destroy_impl ( ) { boost::addressof(m_storage.ref())->~T() ; m_initialized = false ; }
|
void destroy_impl ( ) { boost::addressof(m_storage.ref())->~T() ; m_initialized = false ; }
|
||||||
#else
|
#else
|
||||||
void destroy_impl ( ) { m_storage.ref().T::~T() ; m_initialized = false ; }
|
void destroy_impl ( ) { m_storage.ref().T::~T() ; m_initialized = false ; }
|
||||||
|
Reference in New Issue
Block a user