File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ diff --git a/absl/strings/cord.h b/absl/strings/cord.h
2+ index 1d8fcd37..2e8fd500 100644
3+ --- a/absl/strings/cord.h
4+ +++ b/absl/strings/cord.h
5+ @@ -849,8 +849,8 @@ class Cord {
6+ friend bool operator==(const Cord& lhs, const Cord& rhs);
7+ friend bool operator==(const Cord& lhs, absl::string_view rhs);
8+
9+ - #ifdef __cpp_impl_three_way_comparison
10+ -
11+ + #if defined(__cpp_impl_three_way_comparison) && \
12+ + defined(__cpp_lib_three_way_comparison)
13+ // Cords support comparison with other Cords and string_views via operator<
14+ // and others; here we provide a wrapper for the C++20 three-way comparison
15+ // <=> operator.
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ vcpkg_from_github(
2323 HEAD_REF
2424 master
2525 PATCHES
26- ${TIME_PATCH} )
26+ ${TIME_PATCH}
27+ chord.patch )
2728
2829# With ABSL_PROPAGATE_CXX_STD=ON abseil automatically detect if it is being compiled with C++14 or C++17, and modifies
2930# the installed `absl/base/options.h` header accordingly. This works even if CMAKE_CXX_STANDARD is not set. Abseil uses
You can’t perform that action at this time.
0 commit comments