Skip to content

Commit

Permalink
Simplify the final emplace
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Jul 30, 2022
1 parent 9ebe6f3 commit d04920f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -86,7 +86,7 @@ void PixelTrackSoAFromCUDA::produce(edm::Event& iEvent, edm::EventSetup const& i
#endif

// DO NOT make a copy (actually TWO....)
iEvent.emplace(tokenSOA_, PixelTrackHeterogeneous(std::move(soa_)));
iEvent.emplace(tokenSOA_, std::move(soa_));

assert(!soa_);
}
Expand Down

0 comments on commit d04920f

Please sign in to comment.