Removed duplicate member functions in header

This commit is contained in:
kevstone 2024-02-10 08:52:36 +00:00
parent 6bf0736e83
commit ea49245513
3 changed files with 0 additions and 10 deletions

View File

@ -75,10 +75,6 @@ class CppCode:
def member_functions(self):
return self._code_elements.member_functions
@property
def template_member_functions(self):
return self._code_elements.member_functions
@property
def virtual_member_functions(self):
return self._code_elements.virtual_member_functions

View File

@ -44,8 +44,6 @@ protected:
private:
// Member functions
{%- for m in c.template_member_functions %}
{{ m.funcsig_as_declaration }};{% endfor %}
{%- for m in c.member_functions %}
{{ m.funcsig_as_declaration }};{% endfor %}
};

View File

@ -30,10 +30,6 @@ namespace {{ c.nested_namespaces }} {
{{ c.destructor.as_string() }}
{% endif %}
{% for func in c.template_member_functions %}
{{ func.as_string() }}
{% endfor %}
{% for func in c.virtual_member_functions %}
{{ func.as_string() }}
{% endfor %}