From 4ef10b106a7323a1a5519d0d25bee8812920c2bb Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Fri, 9 Oct 2026 16:34:33 -0400 Subject: [PATCH] Fix wrong-result bug. Previously it could incorrectly report Commit Blog post forthcoming --- ConflictSet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ConflictSet.cpp b/ConflictSet.cpp index e298ae3..153286d 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -2935,8 +2935,7 @@ void fixupMaxVersion(Node *node, WriteContext *writeContext) { } break; case Type_Node256: { auto *self256 = static_cast(node); - max = std::max( - max, horizontalMax16(self256->childMaxVersion, writeContext->zero)); + max = std::max(max, horizontalMax16(self256->maxOfMax, writeContext->zero)); } break; default: // GCOVR_EXCL_LINE __builtin_unreachable(); // GCOVR_EXCL_LINE