Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Jun 26, 2023
1 parent 3cea614 commit ba85e5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,8 @@ private[effect] final class WorkStealingThreadPool[P](
val back = System.nanoTime()

val thread = Thread.currentThread()
if (thread.isInstanceOf[WorkerThread]) {
thread.asInstanceOf[WorkerThread].now = back
if (thread.isInstanceOf[WorkerThread[_]]) {
thread.asInstanceOf[WorkerThread[_]].now = back
}

back
Expand Down

0 comments on commit ba85e5e

Please sign in to comment.