From 3cab273226826e8ea7266959c2823b2d35100966 Mon Sep 17 00:00:00 2001 From: RookieInsect <88270846+RookieInsect@users.noreply.github.com> Date: Fri, 5 Jan 2024 11:18:54 +0800 Subject: [PATCH] =?UTF-8?q?[unreal]=E4=BF=AE=E5=A4=8D=E5=9C=A8windows?= =?UTF-8?q?=E4=B8=8B=E4=BD=BF=E7=94=A8=E8=BF=9C=E7=A8=8BIOS=E7=BC=96?= =?UTF-8?q?=E8=AF=91=EF=BC=8C=E5=8F=98=E9=87=8F=E5=90=8D=E9=87=8D=E5=90=8D?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E7=BC=96=E8=AF=91=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=20(#1626)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update JsEnvImpl.cpp 修复mac编译失败 * [UE]修复windows下远程编译ios失败,变量名重名 --- unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp b/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp index 576b06b113..20317d2392 100644 --- a/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp +++ b/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp @@ -345,9 +345,9 @@ FJsEnvImpl::FJsEnvImpl(std::shared_ptr InModuleLoader, std::sha if (!InFlags.IsEmpty()) { #if !defined(WITH_NODEJS) && !defined(WITH_QUICKJS) - TArray Flags; - InFlags.ParseIntoArray(Flags, TEXT(" ")); - for (auto& Flag : Flags) + TArray FlagArray; + InFlags.ParseIntoArray(FlagArray, TEXT(" ")); + for (auto& Flag : FlagArray) { static FString Max_Old_Space_Size_Name(TEXT("--max-old-space-size=")); if (Flag.StartsWith(Max_Old_Space_Size_Name))