Skip to content

Commit

Permalink
Fix MacOS breakage due to structured binding being captured by refere…
Browse files Browse the repository at this point in the history
…nce round 2.

PiperOrigin-RevId: 700629921
  • Loading branch information
bartchr808 authored and copybara-github committed Nov 27, 2024
1 parent 2ee087a commit 9080ecd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ LogicalResult propagateTensorShardings(
}

op->getContext()->executeAction<SourceShardingAction>(
[&]() {
[&, &updateOperand = updateOperand, &updateResult = updateResult]() {
updateTensorShardings(
operands, results, operandShardings, resultShardings,
setOperandShardingCallback, setResultShardingCallback, shardingRule,
Expand Down

0 comments on commit 9080ecd

Please sign in to comment.