From 97c564afdf2217b73a9739c7e35cbddb2682c597 Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 31 Jul 2020 16:39:44 +0800 Subject: [PATCH] Make MemorySettingStorage.OnChangedCallback `fun interface` --- .../kotlin/net/mamoe/mirai/console/setting/SettingStorage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/SettingStorage.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/SettingStorage.kt index e629ece14..f9ea37d63 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/SettingStorage.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/SettingStorage.kt @@ -67,7 +67,7 @@ public interface MemorySettingStorage : SettingStorage, Map, /** * 当任一 [Setting] 实例拥有的 [Value] 的值被改变后调用的回调函数. */ - public /* fun */ interface OnChangedCallback { // TODO: 2020/7/24 make `fun` in 1.4 + public fun interface OnChangedCallback { public fun onChanged(storage: MemorySettingStorage, value: Value<*>) /**