Skip to content

Commit

Permalink
trigger ci
Browse files Browse the repository at this point in the history
  • Loading branch information
clementetb committed Sep 26, 2024
1 parent 5058142 commit 9c01411
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,12 @@ internal fun <T : BaseRealmObject> RealmObjectPointer.toRealmObject(
* Instantiates a [BaseRealmObject] from its Core [RealmObjectReference] representation. For internal use only.
*/
internal fun <T : BaseRealmObject> RealmObjectReference<T>.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].
Expand Down

0 comments on commit 9c01411

Please sign in to comment.