Remove unused code

This commit is contained in:
2024-01-18 16:49:23 -08:00
parent a7a999a240
commit 1bab3b7555

View File

@@ -60,11 +60,6 @@ struct Node {
// The contents of this node's key
// uint8_t[len];
auto operator<=>(const Node &other) const {
const int minLen = std::min(len, other.len);
const int c = memcmp(this + 1, &other + 1, minLen);
return c != 0 ? c <=> 0 : len <=> other.len;
}
auto operator<=>(const ConflictSet::Key &other) const {
const int minLen = std::min<int>(len, other.len);
const int c = memcmp(this + 1, other.p, minLen);