From d22874f74ec59cd22e461e81c1e1cd36c0e264e9 Mon Sep 17 00:00:00 2001 From: Lauro Moura Date: Thu, 20 Dec 2018 14:13:14 -0800 Subject: [PATCH] cxx: fix build to generate Eina_Future. This doesn't enable future support in the C++ binding, just allow to build the binding. Signed-off-by: Cedric BAIL Reviewed-by: Lauro Neto > Differential Revision: https://phab.enlightenment.org/D7498 --- src/lib/eolian_cxx/grammar/type_impl.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/eolian_cxx/grammar/type_impl.hpp b/src/lib/eolian_cxx/grammar/type_impl.hpp index 21f59c0..ec8f504 100644 --- a/src/lib/eolian_cxx/grammar/type_impl.hpp +++ b/src/lib/eolian_cxx/grammar/type_impl.hpp @@ -311,12 +311,12 @@ struct visitor_generate (complex, regular_type_def{" ::efl::promise", complex.outer.base_qualifier, {}}); } } - /* , {"future", nullptr, nullptr, [&] */ - /* { */ - /* return replace_outer */ - /* (complex, regular_type_def{" ::efl::shared_future", complex.outer.base_qualifier, {}}); */ - /* } */ - /* } */ + , {"future", nullptr, nullptr, [&] + { + return replace_outer + (complex, regular_type_def{" ::efl::eina::future", complex.outer.base_qualifier, {}}); + } + } , {"iterator", nullptr, nullptr, [&] { return replace_outer -- 2.7.4