aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/patches/39-optional.patch
blob: 045335beb88e4f9639c3c651b0d5b2661743f134 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/optional b/include/optional
index 7578833..f7224a2 100644
--- a/include/optional
+++ b/include/optional
@@ -291,7 +291,7 @@ struct __optional_destruct_base<_Tp, false> {
   };
   bool __engaged_;
 
-  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 ~__optional_destruct_base() {
+  _LIBCPP_HIDE_FROM_ABI ~__optional_destruct_base() {
     if (__engaged_)
       __val_.~value_type();
   }