diff options
Diffstat (limited to 'src/bindings/eo_cxx/eo_inherit.hh')
-rw-r--r-- | src/bindings/eo_cxx/eo_inherit.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bindings/eo_cxx/eo_inherit.hh b/src/bindings/eo_cxx/eo_inherit.hh index 9639e33e4a..1d3d3125ff 100644 --- a/src/bindings/eo_cxx/eo_inherit.hh +++ b/src/bindings/eo_cxx/eo_inherit.hh @@ -83,9 +83,10 @@ struct inherit /// template<typename... Args> inherit(efl::eo::parent_type _p, Args&& ... args) + : _eo_cls(nullptr), _eo_raw(nullptr) { _eo_cls = detail::create_class<D, E...> (eina::make_index_sequence<sizeof...(E)>()); - _eo_raw = eo_add_ref(_eo_cls, _p._eo_raw, detail::inherit_constructor(eoid, this), ::efl::eolian::call_ctors(eoid, args...)); + eo_add_ref(&_eo_raw, _eo_cls, _p._eo_raw, detail::inherit_constructor(_eo_raw, this), ::efl::eolian::call_ctors(_eo_raw, args...)); ::efl::eolian::register_ev_del_free_callback(_eo_raw, args...); } |