From 9c0141161da7400c03c9e21c067f8640d68f03b6 Mon Sep 17 00:00:00 2001 From: Clemente Date: Thu, 26 Sep 2024 14:22:50 +0200 Subject: [PATCH] trigger ci --- .../io/realm/kotlin/internal/RealmObjectUtil.kt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/internal/RealmObjectUtil.kt b/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/internal/RealmObjectUtil.kt index 4e86a39423..e4b4496ac0 100644 --- a/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/internal/RealmObjectUtil.kt +++ b/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/internal/RealmObjectUtil.kt @@ -95,13 +95,12 @@ internal fun RealmObjectPointer.toRealmObject( * Instantiates a [BaseRealmObject] from its Core [RealmObjectReference] representation. For internal use only. */ internal fun RealmObjectReference.toRealmObject(): T = - mediator.createInstanceOf(type) - .manage( - realm = owner, - mediator = mediator, - type = type, - objectPointer = objectPointer, - ) + mediator.createInstanceOf(type).manage( + realm = owner, + mediator = mediator, + type = type, + objectPointer = objectPointer, + ) /** * Returns the [RealmObjectCompanion] associated with a given [BaseRealmObject]'s [KClass].