From 16ee2a15048a90778e61f111a91e0b9a3c67ab72 Mon Sep 17 00:00:00 2001 From: Mateusz Jakub Fila <37295697+m-fila@users.noreply.github.com> Date: Wed, 12 Jun 2024 10:18:23 +0200 Subject: [PATCH] fix default member initializer style Co-authored-by: Thomas Madlener --- python/templates/macros/iterator.jinja2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/templates/macros/iterator.jinja2 b/python/templates/macros/iterator.jinja2 index 645c198e0..d3b512f94 100644 --- a/python/templates/macros/iterator.jinja2 +++ b/python/templates/macros/iterator.jinja2 @@ -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 %}