Commit 13b127ca authored by François Grisez's avatar François Grisez

C++ wrapper: systematically include object.hh in each generated header file

parent e8b4dd21
......@@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "{{name}}.hh"
{{/internal}}
{{/includes}}
#include "object.hh"
{{#_class}}{{#isVcard}}
#include <belcard/belcard.hpp>
......
......@@ -593,8 +593,6 @@ class ClassHeader(object):
includes = {'internal': [], 'external': []}
if type(_class) is AbsApi.Class:
self._add_include(includes, 'internal', 'object')
for _property in _class.properties:
if _property.setter is not None:
self._needed_includes_from_method(_property.setter, includes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment