blob: 9428edf28d0296e6ded118fa782f2fcd55d41739 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/include/optional b/include/optional
index e550745..992189b 100644
--- a/include/optional
+++ b/include/optional
@@ -288,7 +288,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();
}
|