Skip to content

Commit

Permalink
Make map converting function public
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChilliPL committed Jul 26, 2020
1 parent 3f59367 commit 49e4bdf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package me.patrykanuszczyk.textcomponentserialization

@JvmSynthetic
internal inline fun <reified K, reified V> Map<*, *>.toMapOf(): MutableMap<K, V> {
inline fun <reified K, reified V> Map<*, *>.toMapOf(): MutableMap<K, V> {
val map = mutableMapOf<K, V>()

for ((key, value) in this) {
Expand Down

0 comments on commit 49e4bdf

Please sign in to comment.