diff --git a/python/templates/Collection.cc.jinja2 b/python/templates/Collection.cc.jinja2 index f8b7a17e8..1eac8fd99 100644 --- a/python/templates/Collection.cc.jinja2 +++ b/python/templates/Collection.cc.jinja2 @@ -181,12 +181,12 @@ podio::SchemaVersionT {{ collection_type }}::getSchemaVersion() const { // ensures that we don't have to make up arbitrary namespace names here, since // none of this is publicly visible namespace { - {{ macros.createBuffers(class, package_name, collection_type, OneToManyRelations, OneToOneRelations, VectorMembers, -1) }} + {{ macros.create_buffers(class, package_name, collection_type, OneToManyRelations, OneToOneRelations, VectorMembers, -1) }} {# // SCHEMA EVOLUTION: Not yet required with only ROOT backend // {% if old_schema_version is defined %} -// {{ macros.createBuffers(class, package_name, collection_type, OneToManyRelations_old, OneToOneRelations_old, VectorMembers_old, old_schema_version) }} +// {{ macros.create_buffers(class, package_name, collection_type, OneToManyRelations_old, OneToOneRelations_old, VectorMembers_old, old_schema_version) }} // {% endif %} #} diff --git a/python/templates/macros/collections.jinja2 b/python/templates/macros/collections.jinja2 index ae3d5687d..efc7c24cb 100644 --- a/python/templates/macros/collections.jinja2 +++ b/python/templates/macros/collections.jinja2 @@ -153,7 +153,7 @@ void {{ class.bare_type }}Collection::print(std::ostream& os, bool flush) const } {% endmacro %} -{% macro createBuffers(class, package_name, collection_type, OneToManyRelations, OneToOneRelations, VectorMembers, schemaVersion) %} +{% macro create_buffers(class, package_name, collection_type, OneToManyRelations, OneToOneRelations, VectorMembers, schemaVersion) %} {% if schemaVersion == -1 %} podio::CollectionReadBuffers createBuffers(bool isSubset) {