forked from weaselab/conflict-set
Fix wrong-result bug. Previously it could incorrectly report Commit
Blog post forthcoming
This commit is contained in:
1 parent
9b6dd51b85
commit
4ef10b106a
1 file changed
+1
-2
+1
-2
@@ -2935,8 +2935,7 @@ void fixupMaxVersion(Node *node, WriteContext *writeContext) {
|
|||||||
} break;
|
} break;
|
||||||
case Type_Node256: {
|
case Type_Node256: {
|
||||||
auto *self256 = static_cast<Node256 *>(node);
|
auto *self256 = static_cast<Node256 *>(node);
|
||||||
max = std::max(
|
max = std::max(max, horizontalMax16(self256->maxOfMax, writeContext->zero));
|
||||||
max, horizontalMax16(self256->childMaxVersion, writeContext->zero));
|
|
||||||
} break;
|
} break;
|
||||||
default: // GCOVR_EXCL_LINE
|
default: // GCOVR_EXCL_LINE
|
||||||
__builtin_unreachable(); // GCOVR_EXCL_LINE
|
__builtin_unreachable(); // GCOVR_EXCL_LINE
|
||||||
|
|||||||
Reference in new issue
Block a user