Skip to content

Commit

Permalink
Make scala 3 happy part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWSpence committed May 3, 2024
1 parent a98f3db commit b68123c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import java.util.concurrent.TimeUnit
import cats.effect.IO
import cats.effect.unsafe.implicits.global
import org.openjdk.jmh.annotations._
import org.typelevel.scalaccompat.annotation._

/**
* To do comparative benchmarks between versions:
Expand All @@ -45,6 +46,7 @@ class TxnBenchmark {
val stm = STM.runtime[IO].unsafeRunSync()
import stm._

@nowarn3
@Param(Array("1000"))
var size: Int = _

Expand Down

0 comments on commit b68123c

Please sign in to comment.