From ca248a25ad5e6ec9957704afb3131017727aa753 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 6 Dec 2020 01:48:00 +0600 Subject: [PATCH] compile fixes --- .../dev/inmo/krontab/collection/CollectionKronScheduler.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commonMain/kotlin/dev/inmo/krontab/collection/CollectionKronScheduler.kt b/src/commonMain/kotlin/dev/inmo/krontab/collection/CollectionKronScheduler.kt index 2c6ad20..f5a4263 100644 --- a/src/commonMain/kotlin/dev/inmo/krontab/collection/CollectionKronScheduler.kt +++ b/src/commonMain/kotlin/dev/inmo/krontab/collection/CollectionKronScheduler.kt @@ -11,10 +11,9 @@ import dev.inmo.krontab.internal.toNearDateTime /** * This scheduler will be useful in case you want to unite several different [KronScheduler]s */ -data class CollectionKronScheduler private constructor( +data class CollectionKronScheduler internal constructor( internal val schedulers: MutableList ) : KronScheduler { - internal constructor(schedulers: List) : this(schedulers.toMutableList()) internal constructor() : this(mutableListOf()) /**