diff --git a/Control/AthenaBaseComps/AthenaBaseComps/GaudiComponentVisitor.h b/Control/AthenaBaseComps/AthenaBaseComps/GaudiComponentVisitor.h index 0729eb993206c974c874735e37936d6e63de2ed5..bd5132df34f36579a6a38d6e1c714415eb843ad2 100644 --- a/Control/AthenaBaseComps/AthenaBaseComps/GaudiComponentVisitor.h +++ b/Control/AthenaBaseComps/AthenaBaseComps/GaudiComponentVisitor.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration */ /* Dear emacs, this is -*-c++-*- */ @@ -61,7 +61,7 @@ namespace xGaudi { const std::regex& reject_filter = ComponentVisitorBase::s_noFilter, T_TestVisited &&ignore = T_TestVisited()) { class Visitor final : public IVisitor { - Callable* m_func; + const Callable* m_func; public: Visitor( Callable* f ) : m_func{f} {}