summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-01-18 23:06:51 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-01-18 23:06:51 -0200
commit679bbc5cab393d7ca26c2c70ed0920dcaf7c5c89 (patch)
treec27b6ae6664a27547d05eb4284057bfb7980bca8 /src/lib/eolian_cxx
parenta1f2db255b22052050baf0c04bb72146b22a6e99 (diff)
eolian-cxx: Do not call eolian_function_scope_get with EOLIAN_PROPERTY
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp4
1 files 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 c663f289b8..b27c57468a 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
638 { 638 {
639 try { 639 try {
640 if(! ::eolian_function_is_legacy_only(function, EOLIAN_PROP_GET) 640 if(! ::eolian_function_is_legacy_only(function, EOLIAN_PROP_GET)
641 && ::eolian_function_scope_get(function, type) != EOLIAN_SCOPE_PRIVATE) 641 && ::eolian_function_scope_get(function, EOLIAN_PROP_GET) != EOLIAN_SCOPE_PRIVATE)
642 functions.push_back({function, EOLIAN_PROP_GET}); 642 functions.push_back({function, EOLIAN_PROP_GET});
643 } catch(std::exception const&) {} 643 } catch(std::exception const&) {}
644 try { 644 try {
645 if(! ::eolian_function_is_legacy_only(function, EOLIAN_PROP_SET) 645 if(! ::eolian_function_is_legacy_only(function, EOLIAN_PROP_SET)
646 && ::eolian_function_scope_get(function, type) != EOLIAN_SCOPE_PRIVATE) 646 && ::eolian_function_scope_get(function, EOLIAN_PROP_SET) != EOLIAN_SCOPE_PRIVATE)
647 functions.push_back({function, EOLIAN_PROP_SET}); 647 functions.push_back({function, EOLIAN_PROP_SET});
648 } catch(std::exception const&) {} 648 } catch(std::exception const&) {}
649 } 649 }