Skip to content

Commit

Permalink
Fix a deprecation warning (#91)
Browse files Browse the repository at this point in the history
* Fix a deprecated warning

* Remove LCG workflow

* Add back line deleted while solving merge conflicts

Co-authored-by: jmcarcell <[email protected]>
  • Loading branch information
jmcarcell and jmcarcell authored Dec 13, 2022
1 parent f6442aa commit 74c925c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ jobs:
fail-fast: false
matrix:
cvmfs_base: ['sft.cern.ch/lcg/views']
ENVIRONMENT: ['LCG_102rc1/x86_64-centos7-gcc11-opt',
'dev3/latest/x86_64-centos7-gcc10-opt',
ENVIRONMENT: ['dev3/latest/x86_64-centos7-gcc10-opt',
]
include:
- cvmfs_base: 'sw.hsf.org'
Expand Down
2 changes: 1 addition & 1 deletion k4FWCore/include/k4FWCore/DataHandle.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ template <typename T> const std::string DataHandle<T>::getCollMetadataCellID(con

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

0 comments on commit 74c925c

Please sign in to comment.