From 7efbac0eb49239252b556db5c0b7abaa11997ea5 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Wed, 24 Aug 2022 03:50:24 +0000 Subject: [PATCH] Make `installGlobal` public --- .../scala/cats/effect/unsafe/IORuntimeCompanionPlatform.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/native/src/main/scala/cats/effect/unsafe/IORuntimeCompanionPlatform.scala b/core/native/src/main/scala/cats/effect/unsafe/IORuntimeCompanionPlatform.scala index 42c0d19b1c..4b5104e751 100644 --- a/core/native/src/main/scala/cats/effect/unsafe/IORuntimeCompanionPlatform.scala +++ b/core/native/src/main/scala/cats/effect/unsafe/IORuntimeCompanionPlatform.scala @@ -26,7 +26,7 @@ private[unsafe] abstract class IORuntimeCompanionPlatform { this: IORuntime.type private[this] var _global: IORuntime = null - private[effect] def installGlobal(global: => IORuntime): Boolean = { + def installGlobal(global: => IORuntime): Boolean = { if (_global == null) { _global = global true