Skip to content

Commit

Permalink
Merge pull request #237 from veprbl/master-1
Browse files Browse the repository at this point in the history
DatamodelGlue.h: support PODIO 00-17+
  • Loading branch information
faustus123 authored Aug 14, 2023
2 parents 27be06f + 7f5b0d4 commit 22a0323
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 22a0323

Please sign in to comment.