Fix runtime compilation warnings
This commit is contained in:
committed by
SvyatoslavScherbina
parent
ee391191ed
commit
0c284c7654
@@ -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;
|
||||||
|
|
||||||
const TypeInfo* GetObjCKotlinTypeInfo(ObjHeader* obj) RUNTIME_NOTHROW {
|
RUNTIME_NOTHROW const TypeInfo* GetObjCKotlinTypeInfo(ObjHeader* obj) {
|
||||||
RuntimeAssert(obj->has_meta_object(), "");
|
RuntimeAssert(obj->has_meta_object(), "");
|
||||||
void* objcPtr = obj->meta_object()->associatedObject_;
|
void* objcPtr = obj->meta_object()->associatedObject_;
|
||||||
RuntimeAssert(objcPtr != nullptr, "");
|
RuntimeAssert(objcPtr != nullptr, "");
|
||||||
|
|||||||
Reference in New Issue
Block a user