From 0c284c76541e5a593d9f17863a979fd972807930 Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Fri, 11 Oct 2019 11:52:08 +0300 Subject: [PATCH] Fix runtime compilation warnings --- runtime/src/main/cpp/ObjCInterop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, "");