From 26e3be48f00d7aad43ef21eb06e148e865e9eb73 Mon Sep 17 00:00:00 2001 From: Lukas Alexander Heinrich <lheinric@aiatlas163.cern.ch> Date: Thu, 30 Apr 2020 12:06:23 +0200 Subject: [PATCH] review --- .../DerivationFrameworkInterfaces/ExpressionParserHelper.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkInterfaces/DerivationFrameworkInterfaces/ExpressionParserHelper.h b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkInterfaces/DerivationFrameworkInterfaces/ExpressionParserHelper.h index ca84eb57e6e..9a6a5b44884 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkInterfaces/DerivationFrameworkInterfaces/ExpressionParserHelper.h +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkInterfaces/DerivationFrameworkInterfaces/ExpressionParserHelper.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #ifndef DERIVATIONFRAMEWORKINTERFACES_EXPRESSIONPARSERHELPER_H @@ -34,9 +34,7 @@ namespace DerivationFramework { /// Default constructor ExpressionParserHelper( ServiceHandle< StoreGateSvc >& evtStore ) : m_xaodLoader( evtStore ), m_ntupLoader( evtStore ), - m_proxyLoader(), m_parser( &m_proxyLoader ) { - m_proxyLoader.push_back( &m_xaodLoader ); - m_proxyLoader.push_back( &m_ntupLoader ); + m_proxyLoader({&m_xaodLoader, &m_ntupLoader}), m_parser( &m_proxyLoader ) { } /// Return a reference to the expression parser -- GitLab