From: Felipe Magno de Almeida Date: Thu, 19 Jan 2017 01:06:51 +0000 (-0200) Subject: eolian-cxx: Do not call eolian_function_scope_get with EOLIAN_PROPERTY X-Git-Tag: upstream/1.20.0~2388 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=679bbc5cab393d7ca26c2c70ed0920dcaf7c5c89;p=platform%2Fupstream%2Fefl.git eolian-cxx: Do not call eolian_function_scope_get with EOLIAN_PROPERTY --- diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp index c663f28..b27c574 100644 --- a/src/lib/eolian_cxx/grammar/klass_def.hpp +++ b/src/lib/eolian_cxx/grammar/klass_def.hpp @@ -638,12 +638,12 @@ struct klass_def { try { if(! ::eolian_function_is_legacy_only(function, EOLIAN_PROP_GET) - && ::eolian_function_scope_get(function, type) != EOLIAN_SCOPE_PRIVATE) + && ::eolian_function_scope_get(function, EOLIAN_PROP_GET) != EOLIAN_SCOPE_PRIVATE) functions.push_back({function, EOLIAN_PROP_GET}); } catch(std::exception const&) {} try { if(! ::eolian_function_is_legacy_only(function, EOLIAN_PROP_SET) - && ::eolian_function_scope_get(function, type) != EOLIAN_SCOPE_PRIVATE) + && ::eolian_function_scope_get(function, EOLIAN_PROP_SET) != EOLIAN_SCOPE_PRIVATE) functions.push_back({function, EOLIAN_PROP_SET}); } catch(std::exception const&) {} }