diff --git a/Event/xAOD/xAODInDetMeasurement/Root/HGTDCluster_v1.cxx b/Event/xAOD/xAODInDetMeasurement/Root/HGTDCluster_v1.cxx index 235f7e70cfece2fbd1806a76e805d361518f9979..5866fb005919d0c5e9befb27b8266683e4a9ccbf 100644 --- a/Event/xAOD/xAODInDetMeasurement/Root/HGTDCluster_v1.cxx +++ b/Event/xAOD/xAODInDetMeasurement/Root/HGTDCluster_v1.cxx @@ -17,7 +17,7 @@ void xAOD::HGTDCluster_v1::setRDOlist(const std::vector<Identifier>& rdoList) { for (std::size_t i(0); i < rdos.size(); ++i) { rdos[i] = rdoList[i].get_compact(); } - rdoListAcc(*this) = rdos; + rdoListAcc(*this) = std::move(rdos); } const std::vector<Identifier> xAOD::HGTDCluster_v1::rdoList() const { diff --git a/Event/xAOD/xAODInDetMeasurement/Root/PixelCluster_v1.cxx b/Event/xAOD/xAODInDetMeasurement/Root/PixelCluster_v1.cxx index 37032b3d91ae028188e77e6b530076120f5860a6..dac8941db3954f687fa5d581ebe4dc92aa63fb6c 100644 --- a/Event/xAOD/xAODInDetMeasurement/Root/PixelCluster_v1.cxx +++ b/Event/xAOD/xAODInDetMeasurement/Root/PixelCluster_v1.cxx @@ -27,7 +27,7 @@ void xAOD::PixelCluster_v1::setRDOlist(const std::vector<Identifier>& rdoList) { for (std::size_t i(0); i < rdos.size(); ++i) { rdos[i] = rdoList[i].get_compact(); } - rdoListAcc(*this) = rdos; + rdoListAcc(*this) = std::move(rdos); } const std::vector<Identifier> xAOD::PixelCluster_v1::rdoList() const { diff --git a/Event/xAOD/xAODInDetMeasurement/Root/StripCluster_v1.cxx b/Event/xAOD/xAODInDetMeasurement/Root/StripCluster_v1.cxx index 32904c339f636ec572ae89bc8648ddd37bd41a67..1b37e0a0f0a239c94e4128bd822cb245df26afa2 100644 --- a/Event/xAOD/xAODInDetMeasurement/Root/StripCluster_v1.cxx +++ b/Event/xAOD/xAODInDetMeasurement/Root/StripCluster_v1.cxx @@ -27,7 +27,7 @@ void xAOD::StripCluster_v1::setRDOlist(const std::vector<Identifier>& rdoList) { for (std::size_t i(0); i < rdos.size(); ++i) { rdos[i] = rdoList[i].get_compact(); } - rdoListAcc(*this) = rdos; + rdoListAcc(*this) = std::move(rdos); } const std::vector<Identifier> xAOD::StripCluster_v1::rdoList() const {