Skip to content

Commit

Permalink
Use typeid instead of EDM4hep::typeName
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Feb 4, 2025
1 parent 52f0e77 commit 6f4d825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k4FWCore/include/k4FWCore/FunctionalUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ namespace k4FWCore {
throw GaudiException(
thisClass->name(),
fmt::format("Failed to cast collection {} to the required type {}, the type of the collection is {}",
std::get<Index>(handles)[0].objKey(), EDM4hepType::typeName,
std::get<Index>(handles)[0].objKey(), typeid(EDM4hepType).name(),
in ? in->getTypeName() : "[undetermined]"),
StatusCode::FAILURE);
}
Expand Down

0 comments on commit 6f4d825

Please sign in to comment.