Skip to content

Commit

Permalink
DatamodelGlue.h: support PODIO 00-17+
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored Aug 13, 2023
1 parent 27be06f commit 7f5b0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/PodioExample/DatamodelGlue.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void visitPodioType(const std::string& podio_typename, F& helper, ArgsT... args)
template <typename Visitor>
struct VisitExampleDatamodel {
void operator()(Visitor& visitor, const podio::CollectionBase &collection) {
std::string podio_typename = collection.getTypeName();
const auto podio_typename = collection.getTypeName();
if (podio_typename == "EventInfoCollection") {
return visitor(static_cast<const EventInfoCollection &>(collection));
} else if (podio_typename == "ExampleHitCollection") {
Expand Down

0 comments on commit 7f5b0d4

Please sign in to comment.