diff --git a/Control/SGComps/src/ProxyProviderSvc.cxx b/Control/SGComps/src/ProxyProviderSvc.cxx index 2b2b938530e8c4d35a30dd8eee44b95f95dbc673..06a4b847fab8b0d08f892b5b054bc99d37d4be2c 100644 --- a/Control/SGComps/src/ProxyProviderSvc.cxx +++ b/Control/SGComps/src/ProxyProviderSvc.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #include <algorithm> @@ -261,7 +261,7 @@ ProxyProviderSvc::retrieveProxy(const CLID& id, const std::string& key, const EventContext& ctx = contextFromStore (store); SG::TransientAddress pTAd (id, key); pAPiterator iProvider(m_providers.begin()), iEnd(m_providers.end()); - for (; iProvider != iEnd; iProvider++) { + for (; iProvider != iEnd; ++iProvider) { if ( ((*iProvider)->updateAddress(store.storeID(),&pTAd,ctx)).isSuccess() ) { pTAd.setProvider(*iProvider, store.storeID()); diff --git a/Control/SGComps/src/SGFolder.h b/Control/SGComps/src/SGFolder.h index 4bd4d02dc08c73ae0626fecfd463e78a2999ffdc..011fdc7a76a9db2bca4c760ea43b9bcba285e84b 100644 --- a/Control/SGComps/src/SGFolder.h +++ b/Control/SGComps/src/SGFolder.h @@ -1,7 +1,7 @@ // -*- c++ -*- /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #ifndef SGCOMPS_FOLDER_H @@ -46,8 +46,8 @@ namespace SG { public: /// \name structors //@{ - Folder(const std::string& name, - const std::string& type, + Folder(const std::string& type, + const std::string& name, const IInterface* parent); virtual ~Folder() override; //@}