Skip to content

Commit d9f04c0

Browse files
authored
Perfetto remove redundant std::move (kokkos#286)
* Perfetto remove redundant std::move * Drop const instead
1 parent 2f784b3 commit d9f04c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profiling/perfetto-connector/perfetto/perfetto.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72861,7 +72861,7 @@ void ProducerIPCClientImpl::OnConnect() {
7286172861
std::move(on_cmd));
7286272862

7286372863
// If there are pending Sync() requests, send them now.
72864-
for (const auto& pending_sync : pending_sync_reqs_)
72864+
for (auto& pending_sync : pending_sync_reqs_)
7286572865
Sync(std::move(pending_sync));
7286672866
pending_sync_reqs_.clear();
7286772867
}

0 commit comments

Comments
 (0)