aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-24 12:26:49 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-24 12:26:49 +0300
commit057f22cbb5bfa82df4bfde220d5aaaa08f34257b (patch)
tree2d20bc9c01a9b37c9867df7911b79d7656e22720 /contrib/libs
parentc730f1b86dd588ce931ca6e4be4783f7814d2544 (diff)
downloadydb-057f22cbb5bfa82df4bfde220d5aaaa08f34257b.tar.gz
intermediate changes
ref:d989d9a6b4f13a67ecb216aa3afa837157f6ef39
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/string2
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/string_view2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/string b/contrib/libs/cxxsupp/libcxx/include/string
index 4660cde9c8..85e0d3378d 100644
--- a/contrib/libs/cxxsupp/libcxx/include/string
+++ b/contrib/libs/cxxsupp/libcxx/include/string
@@ -1452,7 +1452,7 @@ public:
{ return ends_with(__self_view(__s)); }
//#endif
-#if _LIBCPP_STD_VER > 20
+#if _LIBCPP_STD_VER >= 20
constexpr _LIBCPP_INLINE_VISIBILITY
bool contains(__self_view __sv) const noexcept
{ return __self_view(data(), size()).contains(__sv); }
diff --git a/contrib/libs/cxxsupp/libcxx/include/string_view b/contrib/libs/cxxsupp/libcxx/include/string_view
index c1282606d6..c4bc2c03a1 100644
--- a/contrib/libs/cxxsupp/libcxx/include/string_view
+++ b/contrib/libs/cxxsupp/libcxx/include/string_view
@@ -700,7 +700,7 @@ public:
{ return ends_with(basic_string_view(__s)); }
//#endif
-#if _LIBCPP_STD_VER > 20
+#if _LIBCPP_STD_VER >= 20
constexpr _LIBCPP_INLINE_VISIBILITY
bool contains(basic_string_view __sv) const noexcept
{ return find(__sv) != npos; }