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