summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-08-15 14:47:00 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-09-14 00:33:22 -0300
commitdbed78ad3ba9f247e64966a8dda6491a781bd240 (patch)
tree4669f047b1e73d69106a16932c692e0954cce5a8 /src/bin/eolian_cxx
parentf9401c16f061941549463950b272a5417ed0d640 (diff)
eina-cxx: Moved variant to eina C++
Diffstat (limited to 'src/bin/eolian_cxx')
-rw-r--r--src/bin/eolian_cxx/eolian_cxx.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/eolian_cxx/eolian_cxx.cc b/src/bin/eolian_cxx/eolian_cxx.cc
index 8530df2c67..37d24bc2b4 100644
--- a/src/bin/eolian_cxx/eolian_cxx.cc
+++ b/src/bin/eolian_cxx/eolian_cxx.cc
@@ -94,11 +94,11 @@ generate(const Eolian_Class* klass, eolian_cxx::options_type const& opts)
94 variant_function = [&] (efl::eolian::grammar::attributes::type_def const& type) 94 variant_function = [&] (efl::eolian::grammar::attributes::type_def const& type)
95 { 95 {
96 if(efl::eolian::grammar::attributes::klass_name const* 96 if(efl::eolian::grammar::attributes::klass_name const*
97 name = efl::eolian::grammar::attributes::get<efl::eolian::grammar::attributes::klass_name> 97 name = efl::eina::get<efl::eolian::grammar::attributes::klass_name>
98 (&type.original_type)) 98 (&type.original_type))
99 klass_name_function(*name); 99 klass_name_function(*name);
100 else if(efl::eolian::grammar::attributes::complex_type_def const* 100 else if(efl::eolian::grammar::attributes::complex_type_def const*
101 complex = efl::eolian::grammar::attributes::get<efl::eolian::grammar::attributes::complex_type_def> 101 complex = efl::eina::get<efl::eolian::grammar::attributes::complex_type_def>
102 (&type.original_type)) 102 (&type.original_type))
103 complex_function(*complex); 103 complex_function(*complex);
104 }; 104 };