From fc5fc18913fbe5bec2d921a255ffffabfed68e07 Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 23 Oct 2020 12:57:39 +0800 Subject: [PATCH] Make JvmPluginDescription.Companion.invoke inline --- .../mamoe/mirai/console/plugin/jvm/JvmPluginDescription.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugin/jvm/JvmPluginDescription.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugin/jvm/JvmPluginDescription.kt index d49fcd846..72c376b94 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugin/jvm/JvmPluginDescription.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugin/jvm/JvmPluginDescription.kt @@ -35,7 +35,7 @@ public interface JvmPluginDescription : PluginDescription { */ @JvmName("create") @JvmSynthetic - public operator fun invoke( + public inline operator fun invoke( /** * @see [PluginDescription.id] */ @@ -57,7 +57,7 @@ public interface JvmPluginDescription : PluginDescription { */ @JvmName("create") @JvmSynthetic - public operator fun invoke( + public inline operator fun invoke( /** * @see [PluginDescription.id] */