diff --git a/runtime/src/main/cpp/ObjCInterop.cpp b/runtime/src/main/cpp/ObjCInterop.cpp index 38f5f766c45..7596993a15a 100644 --- a/runtime/src/main/cpp/ObjCInterop.cpp +++ b/runtime/src/main/cpp/ObjCInterop.cpp @@ -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, "");