From 0034d09b555b0bdcb60ca3ec11c74dca04415d66 Mon Sep 17 00:00:00 2001 From: Scott Snyder <scott.snyder@cern.ch> Date: Sat, 28 Jan 2017 17:53:23 +0100 Subject: [PATCH] DV const correctness. (CaloRingerAlgs-00-00-29) Former-commit-id: fa6c2481a6b1e2c8858f6a002b58bc88d5165f43 --- Reconstruction/RecoAlgs/CaloRingerAlgs/Changelog | 5 +++++ .../RecoAlgs/CaloRingerAlgs/src/xAODRingSetConfWriter.cxx | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Reconstruction/RecoAlgs/CaloRingerAlgs/Changelog b/Reconstruction/RecoAlgs/CaloRingerAlgs/Changelog index c1c802f7a07..01d75f4f70a 100644 --- a/Reconstruction/RecoAlgs/CaloRingerAlgs/Changelog +++ b/Reconstruction/RecoAlgs/CaloRingerAlgs/Changelog @@ -1,3 +1,8 @@ +2017-01-28 scott snyder <snyder@bnl.gov> + + * Tagging CaloRingerAlgs-00-00-29. + * src/xAODRingSetConfWriter.cxx: DV const correctness. + 2016-12-13 Werner Freund <wsfreund@cern.ch> * Tagging CaloRingerAlgs-00-00-28. diff --git a/Reconstruction/RecoAlgs/CaloRingerAlgs/src/xAODRingSetConfWriter.cxx b/Reconstruction/RecoAlgs/CaloRingerAlgs/src/xAODRingSetConfWriter.cxx index 81a11c446cb..47f3e116624 100644 --- a/Reconstruction/RecoAlgs/CaloRingerAlgs/src/xAODRingSetConfWriter.cxx +++ b/Reconstruction/RecoAlgs/CaloRingerAlgs/src/xAODRingSetConfWriter.cxx @@ -2,7 +2,7 @@ Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ -// $Id: xAODRingSetConfWriter.cxx 787810 2016-12-02 05:39:13Z ssnyder $ +// $Id: xAODRingSetConfWriter.cxx 789607 2016-12-14 04:40:50Z ssnyder $ // STL include(s) #include <algorithm> @@ -195,7 +195,7 @@ StatusCode xAODRingSetConfWriter::copyKeyToStore( const std::string &key ) contCopy->reserve( cont->size() ); contAuxCopy->reserve( cont->size() ); ATH_MSG_DEBUG("Copying object with key: " << key); - for ( value_type obj : *cont ) { + for ( const base_value_type* obj : *cont ) { ATH_MSG_VERBOSE("Original object:"); // Print-out object: obj->print( msg(), MSG::VERBOSE ); -- GitLab