Skip to content

Commit

Permalink
fix default member initializer style
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Madlener <[email protected]>
  • Loading branch information
m-fila and tmadlener committed Dec 9, 2024
1 parent 8d2b9b7 commit 6ad08f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/templates/macros/iterator.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public:
{{ iterator_type }} operator++(int);

private:
size_t m_index = 0;
size_t m_index{0};
{{ prefix }}{{ class.bare_type }} m_object { {{ ptr_init }} };
const {{ class.bare_type }}ObjPointerContainer* m_collection = nullptr;
const {{ class.bare_type }}ObjPointerContainer* m_collection{nullptr};
};
{% endwith %}
{% endmacro %}
Expand Down

0 comments on commit 6ad08f5

Please sign in to comment.