diff --git a/Trigger/TrigConfiguration/TrigConfStorage/src/LogicExpression.cxx b/Trigger/TrigConfiguration/TrigConfStorage/src/LogicExpression.cxx index a772818e2d4fb88538119910ee94e8e6de5a2df0..d0eb920c680fcc84cba8b887ad69aa6cbb369560 100644 --- a/Trigger/TrigConfiguration/TrigConfStorage/src/LogicExpression.cxx +++ b/Trigger/TrigConfiguration/TrigConfStorage/src/LogicExpression.cxx @@ -243,7 +243,7 @@ LogicExpression::totalNumberOfElements() const { void -LogicExpression::printError(const std::string& message, int i) const { +LogicExpression::printError(const std::string& message, int i) { std::string m="Error while parsing : "; std::string s=""; int n = m.size(); @@ -256,7 +256,7 @@ LogicExpression::printError(const std::string& message, int i) const { void -LogicExpression::printCurrentState() const { +LogicExpression::printCurrentState() { char aaa[100]; sprintf(aaa, "Current state: State=%c Nsublogics=%d Element=%s", m_State, (int)subLogics().size(), m_Element.c_str()); @@ -265,7 +265,7 @@ LogicExpression::printCurrentState() const { void -LogicExpression::print(const std::string& indent) const { +LogicExpression::print(const std::string& indent) { std::string s=indent; if (m_State == kELEMENT) { m_ostream << indent << m_Element << std::endl; diff --git a/Trigger/TrigConfiguration/TrigConfStorage/src/LogicExpression.h b/Trigger/TrigConfiguration/TrigConfStorage/src/LogicExpression.h index 1cbf8d37c4babc9b640f67892c8f8760c4829793..219990bc68f5a5331ee23402724020a9fa9bba2f 100644 --- a/Trigger/TrigConfiguration/TrigConfStorage/src/LogicExpression.h +++ b/Trigger/TrigConfiguration/TrigConfStorage/src/LogicExpression.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration */ #ifndef TrigConf_LogicExpression @@ -70,9 +70,9 @@ namespace TrigConf { void markPlaceHolder(); void normalize(); - void printError(const std::string& message, int i) const; - void printCurrentState() const; - void print(const std::string& indent="") const; + void printError(const std::string& message, int i); + void printCurrentState(); + void print(const std::string& indent=""); void clear(); protected: