aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhalyavin <halyavin@yandex-team.com>2022-09-27 18:33:43 +0300
committerhalyavin <halyavin@yandex-team.com>2022-09-27 18:33:43 +0300
commit3c36672f2b135e07e454dda026b5bc2c53f75fad (patch)
tree3a3d18e4c5f1dc28adc669dd9f72b9fb7389c7a5
parent2a1028a8a5527ec19f8d6e800c6d49f939f9b990 (diff)
downloadydb-3c36672f2b135e07e454dda026b5bc2c53f75fad.tar.gz
Revert fix for not_fn.
It is not needed any more and breaks other functionals.
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__functional/not_fn.h2
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__functional/perfect_forward.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__functional/not_fn.h b/contrib/libs/cxxsupp/libcxx/include/__functional/not_fn.h
index 92d7e99d9e..831f27e469 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__functional/not_fn.h
+++ b/contrib/libs/cxxsupp/libcxx/include/__functional/not_fn.h
@@ -44,7 +44,7 @@ template<class _Fn, class = enable_if_t<
>>
_LIBCPP_HIDE_FROM_ABI
_LIBCPP_CONSTEXPR_AFTER_CXX17 auto not_fn(_Fn&& __f) {
- return __not_fn_t<decay_t<_Fn>>(tuple<>(), _VSTD::forward<_Fn>(__f));
+ return __not_fn_t<decay_t<_Fn>>(_VSTD::forward<_Fn>(__f));
}
#endif // _LIBCPP_STD_VER > 14
diff --git a/contrib/libs/cxxsupp/libcxx/include/__functional/perfect_forward.h b/contrib/libs/cxxsupp/libcxx/include/__functional/perfect_forward.h
index b911e3c657..9acaa7e98f 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__functional/perfect_forward.h
+++ b/contrib/libs/cxxsupp/libcxx/include/__functional/perfect_forward.h
@@ -37,7 +37,7 @@ public:
template <class ..._BoundArgs, class = enable_if_t<
is_constructible_v<tuple<_Bound...>, _BoundArgs&&...>
>>
- explicit constexpr __perfect_forward_impl(tuple<>, _BoundArgs&& ...__bound)
+ explicit constexpr __perfect_forward_impl(_BoundArgs&& ...__bound)
: __bound_(_VSTD::forward<_BoundArgs>(__bound)...)
{ }