mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Fix compile warnings after scala update
This commit is contained in:
@ -169,7 +169,7 @@ final class PeriodicSchedulerImpl[F[_]: Async](
|
||||
|
||||
object PeriodicSchedulerImpl {
|
||||
def emptyState[F[_]]: State[F] =
|
||||
State(false, None)
|
||||
State(shutdownRequest = false, None)
|
||||
|
||||
case class State[F[_]](
|
||||
shutdownRequest: Boolean,
|
||||
|
@ -348,7 +348,7 @@ object SchedulerImpl {
|
||||
type CancelToken[F[_]] = F[Unit]
|
||||
|
||||
def emptyState[F[_]]: State[F] =
|
||||
State(Map.empty, Set.empty, Map.empty, false)
|
||||
State(Map.empty, Set.empty, Map.empty, shutdownRequest = false)
|
||||
|
||||
case class State[F[_]](
|
||||
counters: Map[Ident, CountingScheme],
|
||||
|
Reference in New Issue
Block a user