Removed
Link Here
|
1 |
--- folly/io/Cursor.h.orig 2024-09-07 03:24:18 UTC |
2 |
+++ folly/io/Cursor.h |
3 |
@@ -677,6 +677,7 @@ class CursorBase { |
4 |
return ByteRange{data(), available}; |
5 |
} |
6 |
|
7 |
+#if !defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 190000 |
8 |
/** |
9 |
* Alternate version of peekBytes() that returns a std::basic_string_view |
10 |
* instead of a ByteRage. |
11 |
@@ -687,6 +688,7 @@ class CursorBase { |
12 |
auto bytes = peekBytes(); |
13 |
return {bytes.data(), bytes.size()}; |
14 |
} |
15 |
+#endif // _LIBCPP_VERSION < 190000 |
16 |
|
17 |
/** |
18 |
* Alternate version of peekBytes() that returns a std::pair |