We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e99489a commit 98a8d57Copy full SHA for 98a8d57
database/src/desktop/core/operation.cc
@@ -118,8 +118,9 @@ static Optional<Operation> OperationForChildAckUserWrite(
118
return Optional<Operation>(op);
119
} else {
120
const Tree<bool>* child_tree = op.affected_tree.GetChild(child_key);
121
- return Optional<Operation>(Operation::AckUserWrite(
122
- Path(), *child_tree, op.revert ? kAckRevert : kAckConfirm));
+ return Optional<Operation>(
+ Operation::AckUserWrite(Path(), child_tree ? *child_tree : Tree<bool>(),
123
+ op.revert ? kAckRevert : kAckConfirm));
124
}
125
126
0 commit comments