From d1061e272a0688722e89491f5e5829dc9b352127 Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Thu, 26 May 2022 18:04:49 +0200 Subject: [PATCH] Gaudi v36r5 removes SetRead in DataHandle (#85) * gaudi v36r5 removes SetRead in DataHandle * update ci workflows --- .github/workflows/test.yml | 4 ++-- k4FWCore/include/k4FWCore/DataHandle.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2cb2c40f..2507547b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,9 +9,9 @@ jobs: fail-fast: false matrix: cvmfs_base: ['sft.cern.ch/lcg/views'] - ENVIRONMENT: ['LCG_99/x86_64-centos7-gcc8-opt', + ENVIRONMENT: ['LCG_102rc1/x86_64-centos7-gcc11-opt', 'dev3/latest/x86_64-centos7-gcc10-opt', - 'dev4/latest/x86_64-centos7-clang11-opt'] + ] include: - cvmfs_base: 'sw.hsf.org' ENVIRONMENT: 'key4hep' diff --git a/k4FWCore/include/k4FWCore/DataHandle.h b/k4FWCore/include/k4FWCore/DataHandle.h index 563d5eae..64fb8754 100644 --- a/k4FWCore/include/k4FWCore/DataHandle.h +++ b/k4FWCore/include/k4FWCore/DataHandle.h @@ -139,13 +139,11 @@ const T* DataHandle::get() { } } if (LIKELY(m_isGoodType)) { - DataObjectHandle>::setRead(); return static_cast*>(dataObjectp)->getData(); } else if (m_isCollection) { // The reader does not know the specific type of the collection. So we need a reinterpret_cast if the handle was // created by the reader. DataWrapper* tmp = static_cast*>(dataObjectp); - DataObjectHandle>::setRead(); return reinterpret_cast(tmp->collectionBase()); } else { std::string errorMsg("The type provided for " + DataObjectHandle>::pythonRepr() +