From d9d5d89c91abd5d8259f903ed360ad71d67c3b2d Mon Sep 17 00:00:00 2001 From: scott snyder Date: Tue, 29 Oct 2019 14:44:07 +0100 Subject: [PATCH] TrigCostMonitor: Add a few missing const qualifiers. Add a few missing const qualifiers. Will be needed for MT cleanups in TrigConfiguration. --- Trigger/TrigMonitoring/TrigCostMonitor/src/FillConf.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Trigger/TrigMonitoring/TrigCostMonitor/src/FillConf.cxx b/Trigger/TrigMonitoring/TrigCostMonitor/src/FillConf.cxx index 7f393223ea4..6aea6b527a3 100644 --- a/Trigger/TrigMonitoring/TrigCostMonitor/src/FillConf.cxx +++ b/Trigger/TrigMonitoring/TrigCostMonitor/src/FillConf.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ @@ -78,7 +78,7 @@ namespace Trig } void addAllThresholds(const std::string &item_name, - TrigConf::TriggerItemNode *node, + const TrigConf::TriggerItemNode *node, std::vector &svec, std::ostream &log) { @@ -102,7 +102,7 @@ namespace Trig svec.push_back(seq); } else { - TrigConf::TriggerThreshold *th = node->triggerThreshold(); + const TrigConf::TriggerThreshold *th = node->triggerThreshold(); if(th) { th_name = th->name(); TrigConfSeq seq(TrigConf::HLTUtils::string2hash(th_name, "L1_THR"), 0, th_name); -- GitLab