diff --git a/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/os/DeviceInfoRetriever.kt b/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/os/DeviceInfoRetriever.kt index 6e4530d0..7d81f112 100644 --- a/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/os/DeviceInfoRetriever.kt +++ b/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/os/DeviceInfoRetriever.kt @@ -1,7 +1,7 @@ package net.dankito.utils.multiplatform.os -expect class DeviceInfoRetriever { +expect class DeviceInfoRetriever actual constructor() { fun getDeviceInfo(): DeviceInfo diff --git a/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt b/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt index 405e2665..f6fcf32d 100644 --- a/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt +++ b/common/src/commonMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt @@ -1,7 +1,7 @@ package net.dankito.utils.multiplatform.os -expect class OsHelper() { +expect class OsHelper actual constructor() { val osType: OsType diff --git a/common/src/iosMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt b/common/src/iosMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt index e409affd..e21fdaea 100644 --- a/common/src/iosMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt +++ b/common/src/iosMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt @@ -1,7 +1,7 @@ package net.dankito.utils.multiplatform.os -actual class OsHelper actual constructor() { +actual class OsHelper { actual val osType = OsType.iOS diff --git a/common/src/jvmMain/kotlin/net/dankito/utils/multiplatform/StackTraceHelper.kt b/common/src/jvmMain/kotlin/net/dankito/utils/multiplatform/StackTraceHelper.kt index f9728b61..33aae61d 100644 --- a/common/src/jvmMain/kotlin/net/dankito/utils/multiplatform/StackTraceHelper.kt +++ b/common/src/jvmMain/kotlin/net/dankito/utils/multiplatform/StackTraceHelper.kt @@ -4,7 +4,7 @@ import java.io.PrintWriter import java.io.StringWriter -actual class StackTraceHelper actual constructor() { +actual class StackTraceHelper { actual fun getStackTrace(e: Throwable, maxCountStackTraceElements: Int?): String { val stringWriter = StringWriter() diff --git a/common/src/jvmMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt b/common/src/jvmMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt index c2a94068..3d158839 100644 --- a/common/src/jvmMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt +++ b/common/src/jvmMain/kotlin/net/dankito/utils/multiplatform/os/OsHelper.kt @@ -1,7 +1,7 @@ package net.dankito.utils.multiplatform.os -actual open class OsHelper actual constructor() { +actual open class OsHelper { actual val osType: OsType