mirror of
https://github.com/boostorg/optional.git
synced 2025-07-30 20:47:18 +02:00
extended destructor workaround to MSVC 10.0
This commit is contained in:
@ -679,7 +679,7 @@ class optional : public optional_detail::optional_base<T>
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if BOOST_WORKAROUND(_MSC_VER, <= 1500)
|
#if BOOST_WORKAROUND(_MSC_VER, <= 1600)
|
||||||
// On old MSVC compilers the implicitly declared dtor is not called
|
// On old MSVC compilers the implicitly declared dtor is not called
|
||||||
~optional() {}
|
~optional() {}
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user