Remove unused code
This commit is contained in:
@@ -60,11 +60,6 @@ struct Node {
|
|||||||
// The contents of this node's key
|
// The contents of this node's key
|
||||||
// uint8_t[len];
|
// 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 {
|
auto operator<=>(const ConflictSet::Key &other) const {
|
||||||
const int minLen = std::min<int>(len, other.len);
|
const int minLen = std::min<int>(len, other.len);
|
||||||
const int c = memcmp(this + 1, other.p, minLen);
|
const int c = memcmp(this + 1, other.p, minLen);
|
||||||
|
Reference in New Issue
Block a user