forked from boostorg/optional
extended speculative fix to more MSVC compilers
This commit is contained in:
1 parent
3b58b0f4da
commit
c0084a0451
1 file changed
+1
-1
@@ -560,7 +560,7 @@ class optional_base : public optional_tag
|
||||
|
||||
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 ; }
|
||||
#else
|
||||
void destroy_impl ( ) { m_storage.ref().T::~T() ; m_initialized = false ; }
|
||||
|
||||
Reference in new issue
Block a user