summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-12 17:52:44 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-12 18:05:13 +0100
commit19c16b671e3bafd1ea360fbd331b4952391f6ee9 (patch)
tree57485acaae38331839641dc301ab80ab7a8ccf98 /src/lib/eolian_cxx
parent707ed05d58b2dd46f7617073ab516a862e2a029a (diff)
eolian: type_typedecl_get doesn't need a unit
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index e7e6018872..3872feaf4a 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -353,7 +353,7 @@ inline void type_def::set(Eolian_Type const* eolian_type, Eolian_Unit const* uni
353 if (!stp) 353 if (!stp)
354 { 354 {
355 bool is_undefined = false; 355 bool is_undefined = false;
356 Eolian_Typedecl const* decl = eolian_type_typedecl_get(unit, eolian_type); 356 Eolian_Typedecl const* decl = eolian_type_typedecl_get(eolian_type);
357 typedecl_type type_type = (decl ? typedecl_type_get(decl) : typedecl_type::unknown); 357 typedecl_type type_type = (decl ? typedecl_type_get(decl) : typedecl_type::unknown);
358 if(decl && eolian_typedecl_type_get(decl) == EOLIAN_TYPEDECL_ALIAS) 358 if(decl && eolian_typedecl_type_get(decl) == EOLIAN_TYPEDECL_ALIAS)
359 { 359 {