diff --git a/MuonSpectrometer/MuonValidation/MuonTesterTree/MuonTesterTree/AuxElementBranch.icc b/MuonSpectrometer/MuonValidation/MuonTesterTree/MuonTesterTree/AuxElementBranch.icc index 3a8681574764aba2cb549171d93c0a686d04f56a..2af7f40ef2b9c3e7c5c350a71cf7cacc90bcf98f 100644 --- a/MuonSpectrometer/MuonValidation/MuonTesterTree/MuonTesterTree/AuxElementBranch.icc +++ b/MuonSpectrometer/MuonValidation/MuonTesterTree/MuonTesterTree/AuxElementBranch.icc @@ -1,10 +1,10 @@ /* - Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration */ #ifndef MUONTESTER_AUXELEMENTBRANCH_IXX #define MUONTESTER_AUXELEMENTBRANCH_IXX -#include <MuonTesterTree/AuxElementBranch.h> + //######################################################################################## // AuxElementBranch //######################################################################################## diff --git a/MuonSpectrometer/MuonValidation/MuonTesterTree/Root/LinkerBranch.cxx b/MuonSpectrometer/MuonValidation/MuonTesterTree/Root/LinkerBranch.cxx index 66d36426ecb6ab15a08708ac87f0f4f35f661e8d..6c83ce272915e1ec567151cbeb1d701b92ab6e3b 100644 --- a/MuonSpectrometer/MuonValidation/MuonTesterTree/Root/LinkerBranch.cxx +++ b/MuonSpectrometer/MuonValidation/MuonTesterTree/Root/LinkerBranch.cxx @@ -11,7 +11,7 @@ namespace MuonVal{ VectorBranch<unsigned short>{parent.tree(), std::format("{:}_{:}Link", parent.name(), altName.empty() ? linkColl->name() : altName)}, m_linkColl{linkColl}, - m_linkerFunc{linker} {} + m_linkerFunc{std::move(linker)} {} void LinkerBranch::operator+=(const xAOD::IParticle* p) { push_back(p); @@ -51,7 +51,7 @@ namespace MuonVal{ std::format("{:}_{:}Link", parent.name(), altName.empty() ? primColl->name() : altName)}, m_parent{parent}, m_linkColl{primColl}, - m_linkerFunc{linker} { + m_linkerFunc{std::move(linker)} { setDefault(-1); }