From 0ca8f7c7186e83724bf4590665b9f99a559d1369 Mon Sep 17 00:00:00 2001 From: Vitor Sousa Date: Mon, 23 Feb 2015 17:04:53 -0300 Subject: [PATCH] eolian_cxx: Fix wrapper constructors by updating to the new eo_add_ref interface --- src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh b/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh index 42d577614d..86a515edb9 100644 --- a/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh +++ b/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh @@ -441,10 +441,10 @@ operator<<(std::ostream& out, function_call_constructor_methods const& x) out << "::efl::eo::parent_type _p)" << endl << tab(1) << "{" << endl - << tab(2) << "Eo* _ret_eo = eo_add_ref(" << x._cls.eo_name << ", _p._eo_raw, "; + << tab(2) << "Eo* _ret_eo = eo_add_ref(" << x._cls.eo_name << ", _p._eo_raw"; for (it = first; it != last; ++it) { - out << "_c" << (it-first) << "(); "; + out << ", _c" << (it-first) << "()"; } out << ");" << endl << endl; -- 2.34.1