Skip to content

Commit 74c925c

Browse files
authored
Fix a deprecation warning (#91)
* Fix a deprecated warning * Remove LCG workflow * Add back line deleted while solving merge conflicts Co-authored-by: jmcarcell <[email protected]>
1 parent f6442aa commit 74c925c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
cvmfs_base: ['sft.cern.ch/lcg/views']
12-
ENVIRONMENT: ['LCG_102rc1/x86_64-centos7-gcc11-opt',
13-
'dev3/latest/x86_64-centos7-gcc10-opt',
12+
ENVIRONMENT: ['dev3/latest/x86_64-centos7-gcc10-opt',
1413
]
1514
include:
1615
- cvmfs_base: 'sw.hsf.org'

k4FWCore/include/k4FWCore/DataHandle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ template <typename T> const std::string DataHandle<T>::getCollMetadataCellID(con
178178

179179
if (pds != nullptr) {
180180
auto colMD = pds->getProvider().getCollectionMetaData(id);
181-
return colMD.getStringVal("CellIDEncodingString");
181+
return colMD.getValue<std::string>("CellIDEncodingString");
182182
} else {
183183
std::string msg("Could not get Podio Data Service.");
184184
throw GaudiException(msg, "Failed to get Collection Metadata.", StatusCode::FAILURE);

0 commit comments

Comments
 (0)