diff --git a/Trigger/TrigConfiguration/TrigConfL1Data/Root/PrioritySet.cxx b/Trigger/TrigConfiguration/TrigConfL1Data/Root/PrioritySet.cxx index abfbdd20015af74e74df7c2b4b8c4bdcd7b1c769..63f402b474efd2dacb63009b61943f002eb02fb4 100644 --- a/Trigger/TrigConfiguration/TrigConfL1Data/Root/PrioritySet.cxx +++ b/Trigger/TrigConfiguration/TrigConfL1Data/Root/PrioritySet.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration */ #include "TrigConfL1Data/PrioritySet.h" @@ -12,13 +12,6 @@ TrigConf::PrioritySet::PrioritySet() : L1DataBaseclass(),m_Priorities(N_PRIORITIES,"LOW") {} -void -TrigConf::PrioritySet::setPriorities(const std::string p[], const unsigned int size) { - if (size > N_PRIORITIES) std::cerr - << "setPriorities >> number of priorities too high: " << size << std::endl; - for (unsigned int i=0; i<size; i++) m_Priorities.at(i) = p[i]; -} - void TrigConf::PrioritySet::setPriorities(const std::vector<std::string>& vec) { if (vec.size() > N_PRIORITIES) std::cerr diff --git a/Trigger/TrigConfiguration/TrigConfL1Data/TrigConfL1Data/PrioritySet.h b/Trigger/TrigConfiguration/TrigConfL1Data/TrigConfL1Data/PrioritySet.h index d1efdf7c34e7b9b90409b3ca953783f705a2940c..13d1cbcaf01d4412f8a5b85b7518be6da0f9534f 100644 --- a/Trigger/TrigConfiguration/TrigConfL1Data/TrigConfL1Data/PrioritySet.h +++ b/Trigger/TrigConfiguration/TrigConfL1Data/TrigConfL1Data/PrioritySet.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration */ #ifndef TrigConf_PrioritySet @@ -22,7 +22,6 @@ namespace TrigConf { // Accessors const std::vector<std::string>& priorities() const { return m_Priorities; } - void setPriorities( const std::string p[], const unsigned int size); void setPriorities(const std::vector<std::string>& vec); virtual void print(const std::string& indent="", unsigned int detail=1) const override;