eolian_cxx: Fix C++ generated inheritance wrappers
authorVitor Sousa <vitorsousasilva@gmail.com>
Thu, 25 Jun 2015 14:58:43 +0000 (15:58 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Thu, 25 Jun 2015 14:58:43 +0000 (15:58 +0100)
commit22094b6a275032027f3a3ef84d36ad4ab4c708a2
treebb6bb89f577313ebfa16403e6bab684c53950982
parentc709f1dca20b058a9ca76a181add200fe25a8a09
eolian_cxx: Fix C++ generated inheritance wrappers

Summary:
Fix a bug that happens when a Eolian C++ wrapper have no default
constructor (because it have obligatory constructing methods) and it is
being used as a return of a inheritance wrappers.
Switched to a conversion of the native type as the default return, instead
of a value initialized wrapper.

Reviewers: q66, felipealmeida

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2769
src/lib/eolian_cxx/grammar/inheritance_base_generator.hh