Skip to content

Commit 7f29455

Browse files
Automated Code Change
PiperOrigin-RevId: 629864946
1 parent 62a3370 commit 7f29455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/core/kernels/data/parallel_batch_dataset_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ class ParallelBatchDatasetOp::Dataset : public DatasetBase {
439439
return status;
440440
};
441441

442-
(*ctx->runner())(copy_elements_fn);
442+
(*ctx->runner())(std::move(copy_elements_fn));
443443
}
444444

445445
void CancelThreads(bool wait) TF_LOCKS_EXCLUDED(mu_) {

0 commit comments

Comments
 (0)