diff --git a/RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitProducerGPU.cc b/RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitProducerGPU.cc index 576cec1a0b14a..ccfe2f94faddd 100644 --- a/RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitProducerGPU.cc +++ b/RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitProducerGPU.cc @@ -348,8 +348,8 @@ void EcalUncalibRecHitProducerGPU::acquire(edm::Event const& event, configParameters_, ctx.stream()); - ebRecHits_ = std::move(std::make_unique>()); - eeRecHits_ = std::move(std::make_unique>()); + ebRecHits_ = std::make_unique>(); + eeRecHits_ = std::make_unique>(); if (shouldTransferToHost_) { // allocate for the result while kernels are running