felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=679bbc5cab393d7ca26c2c70ed0920dcaf7c5c89

commit 679bbc5cab393d7ca26c2c70ed0920dcaf7c5c89
Author: Felipe Magno de Almeida <[email protected]>
Date:   Wed Jan 18 23:06:51 2017 -0200

    eolian-cxx: Do not call eolian_function_scope_get with EOLIAN_PROPERTY
---
 src/lib/eolian_cxx/grammar/klass_def.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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&) {}
            }

-- 


Reply via email to