diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 8d0e85f..5a30aa3 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -8,7 +8,7 @@ using Key = ConflictSet::Key; -auto operator<=>(const Key &lhs, const Key &rhs) { +static auto operator<=>(const Key &lhs, const Key &rhs) { const int minLen = std::min(lhs.len, rhs.len); const int c = memcmp(lhs.p, rhs.p, minLen); return c != 0 ? c <=> 0 : lhs.len <=> rhs.len;