Skip to content

Commit

Permalink
Make sure that all user facing types exist
Browse files Browse the repository at this point in the history
Otherwise things start to break in cases where users explicitly use
these types at the moment.
  • Loading branch information
tmadlener committed Oct 15, 2024
1 parent 15fcd98 commit 3898927
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/templates/LinkCollection.h.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

{{ utils.namespace_open(class.namespace) }}
using {{ class.bare_type }}Collection = podio::LinkCollection<{{ From }}, {{ To }}>;
using {{ class.bare_type }} = typename {{ class.bare_type }}Collection::value_type;
using Mutable{{ class.bare_type }} = typename {{ class.bare_type }}Collection::mutable_type;

{{ utils.namespace_close(class.namespace) }}

#endif

0 comments on commit 3898927

Please sign in to comment.