From 96825b1fd8375eea053f76e4cea24c2fb11c127b Mon Sep 17 00:00:00 2001 From: johnche Date: Mon, 18 Nov 2024 14:26:31 +0800 Subject: [PATCH] =?UTF-8?q?[unreal]const=20ustruct=20*=E5=8C=B9=E9=85=8D?= =?UTF-8?q?=E5=A4=9A=E4=B8=AA=E7=89=B9=E5=8C=96=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=88C2752=EF=BC=89=20fix=20https://github.com/Tencent/puer?= =?UTF-8?q?ts/issues/1917?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unreal/Puerts/Source/JsEnv/Public/UEDataBinding.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unreal/Puerts/Source/JsEnv/Public/UEDataBinding.hpp b/unreal/Puerts/Source/JsEnv/Public/UEDataBinding.hpp index 1b5d67d795..bebb09a17e 100644 --- a/unreal/Puerts/Source/JsEnv/Public/UEDataBinding.hpp +++ b/unreal/Puerts/Source/JsEnv/Public/UEDataBinding.hpp @@ -490,8 +490,8 @@ struct IsUStructHelper::Get)>> : std: namespace v8_impl { template -struct Converter::value && internal::IsUStructHelper::value>::type> +struct Converter::value && !std::is_convertible::value && + internal::IsUStructHelper::value>::type> { static v8::Local toScript(v8::Local context, T* value) {