Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Jun 12, 2023
1 parent 4cf3a38 commit 3257702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion std/shared/src/main/scala/cats/effect/std/PQueue.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ object PQueue {
assertNonNegative(capacity)
F.ref(State.empty[F, A]).map { ref =>
new PQueueImpl[F, A](ref, capacity) {
implicit val Ord = O
implicit val Ord: Order[A] = O
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private[std] object BinomialHeap {

def apply[A](trees: List[BinomialTree[A]])(implicit ord: Order[A]) =
new BinomialHeap[A](trees) {
implicit val Ord = ord
implicit val Ord: Order[A] = ord
}

/**
Expand Down

0 comments on commit 3257702

Please sign in to comment.