From 05d30eb83a35eeb94e7b0a92525951fef820ec57 Mon Sep 17 00:00:00 2001 From: pbutti <pierfrancesco.butti@gmail.com> Date: Wed, 19 Feb 2025 10:38:59 +0100 Subject: [PATCH 1/3] Change copy to std::move --- Event/xAOD/xAODInDetMeasurement/Root/PixelCluster_v1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Event/xAOD/xAODInDetMeasurement/Root/PixelCluster_v1.cxx b/Event/xAOD/xAODInDetMeasurement/Root/PixelCluster_v1.cxx index 37032b3d91ae..dac8941db395 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 { -- GitLab From fc6349f7cb25b42fe79c660c802fbf2885d5b42f Mon Sep 17 00:00:00 2001 From: Pierfrancesco Butti <pierfrancesco.butti@cern.ch> Date: Wed, 19 Feb 2025 10:54:54 +0000 Subject: [PATCH 2/3] Update file StripCluster_v1.cxx --- Event/xAOD/xAODInDetMeasurement/Root/StripCluster_v1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Event/xAOD/xAODInDetMeasurement/Root/StripCluster_v1.cxx b/Event/xAOD/xAODInDetMeasurement/Root/StripCluster_v1.cxx index 32904c339f63..1b37e0a0f0a2 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 { -- GitLab From 9949e3d1fed80fe62336a50f002aaf51615a3213 Mon Sep 17 00:00:00 2001 From: Pierfrancesco Butti <pierfrancesco.butti@cern.ch> Date: Wed, 19 Feb 2025 11:02:21 +0000 Subject: [PATCH 3/3] Update file HGTDCluster_v1.cxx --- Event/xAOD/xAODInDetMeasurement/Root/HGTDCluster_v1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Event/xAOD/xAODInDetMeasurement/Root/HGTDCluster_v1.cxx b/Event/xAOD/xAODInDetMeasurement/Root/HGTDCluster_v1.cxx index 235f7e70cfec..5866fb005919 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 { -- GitLab