From 85d88ce91509b6b9bcd9fe6bc75bb97b651d79bb Mon Sep 17 00:00:00 2001 From: killcerr Date: Mon, 6 Jan 2025 12:52:15 +0800 Subject: [PATCH] fix: fix return --- src/Utils/Convert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/Convert.h b/src/Utils/Convert.h index 170a31b9..40435bfe 100644 --- a/src/Utils/Convert.h +++ b/src/Utils/Convert.h @@ -113,7 +113,7 @@ Local DoScriptTypeConvert(const T& value) { } return obj; } else if constexpr (std::is_same_v) { - VariantConvert(value); + return VariantConvert(value); } } template