Fixed curious error message expected class does not have default constructor
This commit is contained in:
parent
4f05a8df14
commit
ed34627ea1
|
@ -1,7 +1,7 @@
|
|||
package net.dankito.utils.multiplatform.os
|
||||
|
||||
|
||||
expect class DeviceInfoRetriever {
|
||||
expect class DeviceInfoRetriever actual constructor() {
|
||||
|
||||
fun getDeviceInfo(): DeviceInfo
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package net.dankito.utils.multiplatform.os
|
||||
|
||||
|
||||
expect class OsHelper() {
|
||||
expect class OsHelper actual constructor() {
|
||||
|
||||
val osType: OsType
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package net.dankito.utils.multiplatform.os
|
||||
|
||||
|
||||
actual class OsHelper actual constructor() {
|
||||
actual class OsHelper {
|
||||
|
||||
|
||||
actual val osType = OsType.iOS
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package net.dankito.utils.multiplatform.os
|
||||
|
||||
|
||||
actual open class OsHelper actual constructor() {
|
||||
actual open class OsHelper {
|
||||
|
||||
|
||||
actual val osType: OsType
|
||||
|
|
Loading…
Reference in New Issue