Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Fix test issue caused by move to C++20 #1245

Merged
merged 4 commits into from
Nov 29, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Source/common/SantaCacheTest.mm
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,7 @@ - (void)testCompareAndSwap {
uint64_t first_val;
uint64_t second_val;

bool operator==(const S &rhs) {
return first_val == rhs.first_val && second_val == rhs.second_val;
}
auto operator<=>(const S &rhs) const = default;
};
template <>
uint64_t SantaCacheHasher<S>(S const &s) {
Expand Down
Loading