Skip to content

Commit

Permalink
make wildcardSnapshotOf public
Browse files Browse the repository at this point in the history
  • Loading branch information
Quillraven committed Oct 17, 2023
1 parent dd99a77 commit 2b9a4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commonMain/kotlin/com/github/quillraven/fleks/world.kt
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ data class Snapshot(
* Utility function to manually create a [Snapshot].
*/
@Suppress("UNCHECKED_CAST")
internal fun wildcardSnapshotOf(components: List<Component<*>>, tags: List<UniqueId<*>>): Snapshot {
fun wildcardSnapshotOf(components: List<Component<*>>, tags: List<UniqueId<*>>): Snapshot {
return Snapshot(components as List<Component<out Any>>, tags as List<UniqueId<out Any>>)
}

Expand Down

0 comments on commit 2b9a4a2

Please sign in to comment.