mirror of
https://github.com/boostorg/optional.git
synced 2025-07-30 20:47:18 +02:00
Removed empty optional destructor
This commit is contained in:
@ -712,8 +712,6 @@ class optional : public optional_detail::optional_base<T>
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// No-throw (assuming T::~T() doesn't)
|
|
||||||
~optional() {}
|
|
||||||
|
|
||||||
#if !defined(BOOST_OPTIONAL_NO_INPLACE_FACTORY_SUPPORT) && !defined(BOOST_OPTIONAL_WEAK_OVERLOAD_RESOLUTION)
|
#if !defined(BOOST_OPTIONAL_NO_INPLACE_FACTORY_SUPPORT) && !defined(BOOST_OPTIONAL_WEAK_OVERLOAD_RESOLUTION)
|
||||||
// Assigns from an expression. See corresponding constructor.
|
// Assigns from an expression. See corresponding constructor.
|
||||||
|
Reference in New Issue
Block a user