summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/klass_def.hpp
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-12 17:33:28 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-12 18:05:13 +0100
commit707ed05d58b2dd46f7617073ab516a862e2a029a (patch)
tree75780247a8772af532b4d8fd48eb49cb02edee6e /src/lib/eolian_cxx/grammar/klass_def.hpp
parentdb417349545efeb8e54f2281192bd3480c78e1a4 (diff)
eolian: do not require unit for type_class_get
Diffstat (limited to 'src/lib/eolian_cxx/grammar/klass_def.hpp')
-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 baaa61382e..e7e6018872 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -385,7 +385,7 @@ inline void type_def::set(Eolian_Type const* eolian_type, Eolian_Unit const* uni
385 break; 385 break;
386 case EOLIAN_TYPE_CLASS: 386 case EOLIAN_TYPE_CLASS:
387 { 387 {
388 Eolian_Class const* klass = eolian_type_class_get(unit, eolian_type); 388 Eolian_Class const* klass = eolian_type_class_get(eolian_type);
389 original_type = klass_name(klass, {qualifiers(eolian_type), {}}); 389 original_type = klass_name(klass, {qualifiers(eolian_type), {}});
390 } 390 }
391 break; 391 break;