From 1bab3b7555b02ae381383485593f6d9b28fde980 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Thu, 18 Jan 2024 16:49:23 -0800 Subject: [PATCH] Remove unused code --- ConflictSet.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 248fb10..ae44e47 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -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(len, other.len); const int c = memcmp(this + 1, other.p, minLen);