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):
|
def member_functions(self):
|
||||||
return self._code_elements.member_functions
|
return self._code_elements.member_functions
|
||||||
|
|
||||||
@property
|
|
||||||
def template_member_functions(self):
|
|
||||||
return self._code_elements.member_functions
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def virtual_member_functions(self):
|
def virtual_member_functions(self):
|
||||||
return self._code_elements.virtual_member_functions
|
return self._code_elements.virtual_member_functions
|
||||||
|
|
|
@ -44,8 +44,6 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Member functions
|
// Member functions
|
||||||
{%- for m in c.template_member_functions %}
|
|
||||||
{{ m.funcsig_as_declaration }};{% endfor %}
|
|
||||||
{%- for m in c.member_functions %}
|
{%- for m in c.member_functions %}
|
||||||
{{ m.funcsig_as_declaration }};{% endfor %}
|
{{ m.funcsig_as_declaration }};{% endfor %}
|
||||||
};
|
};
|
||||||
|
|
|
@ -30,10 +30,6 @@ namespace {{ c.nested_namespaces }} {
|
||||||
{{ c.destructor.as_string() }}
|
{{ c.destructor.as_string() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for func in c.template_member_functions %}
|
|
||||||
{{ func.as_string() }}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% for func in c.virtual_member_functions %}
|
{% for func in c.virtual_member_functions %}
|
||||||
{{ func.as_string() }}
|
{{ func.as_string() }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue