eolian_cxx: Fix C++ compilation with new Eolian_Type_Type values

This commit is contained in:
Vitor Sousa 2016-03-01 15:20:06 -03:00 committed by Daniel Kolesa
parent 32e0b60bb4
commit f57d4b9a3c
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ type_from_eolian(Eolian_Type const& type)
efl::eolian::eolian_type x;
Eolian_Type_Type tpt = ::eolian_type_type_get(&type);
if (tpt == EOLIAN_TYPE_POINTER || tpt == EOLIAN_TYPE_ALIAS || tpt == EOLIAN_TYPE_REGULAR)
if (tpt == EOLIAN_TYPE_POINTER || tpt == EOLIAN_TYPE_REGULAR)
{
Eolian_Type const* base_type = ::eolian_type_base_type_get(&type);
if (base_type && ::eolian_type_type_get(base_type) == EOLIAN_TYPE_CLASS)