From 35d1e31331da1e307c8ef77adf968e85dd66c61d Mon Sep 17 00:00:00 2001 From: ligi Date: Wed, 26 May 2021 01:31:28 +0200 Subject: [PATCH] Replace deprecated inline class with value class --- .../commonMain/kotlin/org/komputing/khex/model/HexString.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extensions/src/commonMain/kotlin/org/komputing/khex/model/HexString.kt b/extensions/src/commonMain/kotlin/org/komputing/khex/model/HexString.kt index 0070bcf..ab7915f 100644 --- a/extensions/src/commonMain/kotlin/org/komputing/khex/model/HexString.kt +++ b/extensions/src/commonMain/kotlin/org/komputing/khex/model/HexString.kt @@ -1,3 +1,6 @@ package org.komputing.khex.model -public inline class HexString(public val string: String) \ No newline at end of file +import kotlin.jvm.JvmInline + +@JvmInline +public value class HexString(public val string: String) \ No newline at end of file