compile fixes

This commit is contained in:
InsanusMokrassar 2020-12-06 01:48:00 +06:00
parent 4995a34c1a
commit ca248a25ad

View File

@ -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 * 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 val schedulers: MutableList<KronScheduler>
) : KronScheduler { ) : KronScheduler {
internal constructor(schedulers: List<KronScheduler>) : this(schedulers.toMutableList())
internal constructor() : this(mutableListOf()) internal constructor() : this(mutableListOf())
/** /**