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