mirror of https://github.com/ecmwf/eccodes.git
Removed duplicate member functions in header
This commit is contained in:
parent
6bf0736e83
commit
ea49245513
|
@ -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
|
||||
|
|
|
@ -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 %}
|
||||
};
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue