Fix runtime compilation warnings

This commit is contained in:
Svyatoslav Scherbina
2019-10-11 11:52:08 +03:00
committed by SvyatoslavScherbina
parent ee391191ed
commit 0c284c7654
+1 -1
View File
@@ -48,7 +48,7 @@ static inline void SetKotlinTypeInfo(Class clazz, const TypeInfo* typeInfo) {
const TypeInfo* GetObjCKotlinTypeInfo(ObjHeader* obj) RUNTIME_NOTHROW;
const TypeInfo* GetObjCKotlinTypeInfo(ObjHeader* obj) RUNTIME_NOTHROW {
RUNTIME_NOTHROW const TypeInfo* GetObjCKotlinTypeInfo(ObjHeader* obj) {
RuntimeAssert(obj->has_meta_object(), "");
void* objcPtr = obj->meta_object()->associatedObject_;
RuntimeAssert(objcPtr != nullptr, "");