0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-10-31 23:56:05 +00:00
Files
termux-packages/x11-packages/electron-host-tools-for-code-oss/cr-patches/7004-no-constexpr-in-requires-base-containers-span.patch

21 lines
971 B
Diff

--- a/base/containers/span.h
+++ b/base/containers/span.h
@@ -785,7 +785,7 @@
template <typename OtherElementType,
size_t OtherExtent,
typename OtherInternalPtrType>
- requires((OtherExtent == dynamic_extent || extent == OtherExtent) &&
+ requires((OtherExtent == dynamic_extent || Extent == OtherExtent) &&
std::equality_comparable_with<const element_type,
const OtherElementType>)
friend constexpr bool operator==(
@@ -820,7 +820,7 @@
template <typename OtherElementType,
size_t OtherExtent,
typename OtherInternalPtrType>
- requires((OtherExtent == dynamic_extent || extent == OtherExtent) &&
+ requires((OtherExtent == dynamic_extent || Extent == OtherExtent) &&
std::three_way_comparable_with<const element_type,
const OtherElementType>)
friend constexpr auto operator<=>(