Skip to content

Commit

Permalink
Minor fix from clang-tidy / clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Oct 10, 2024
1 parent 75e6e9d commit 99cc969
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/templates/CollectionData.cc.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ void {{ class_type }}::clear(bool isSubsetColl) {
}

// Normal collections manage a bit more and have to clean up a bit more
if (m_data) m_data->clear();
if (m_data) {
m_data->clear();
}
{% if OneToManyRelations or OneToOneRelations %}
for (auto& pointer : m_refCollections) { pointer->clear(); }
{% endif %}
Expand Down

0 comments on commit 99cc969

Please sign in to comment.