Skip to content

Commit

Permalink
Fix the map insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 25, 2023
1 parent d1c8d00 commit 7400198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k4FWCore/include/k4FWCore/PodioDataSvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class PodioDataSvc : public DataSvc {
if (!collection) {
error() << "Collection " << token << " does not exist." << endmsg;
}
(*map)[collName] = collection;
(*map)[token] = collection;
}
auto wrapper = new DataWrapper<T>;
wrapper->setData(map);
Expand Down

0 comments on commit 7400198

Please sign in to comment.