Skip to content

Commit

Permalink
[unreal]修复在windows下使用远程IOS编译,变量名重名导致的编译失败 (#1626)
Browse files Browse the repository at this point in the history
* Update JsEnvImpl.cpp

修复mac编译失败

* [UE]修复windows下远程编译ios失败,变量名重名
  • Loading branch information
RookieInsect authored Jan 5, 2024
1 parent 201987d commit 3cab273
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,9 @@ FJsEnvImpl::FJsEnvImpl(std::shared_ptr<IJSModuleLoader> InModuleLoader, std::sha
if (!InFlags.IsEmpty())
{
#if !defined(WITH_NODEJS) && !defined(WITH_QUICKJS)
TArray<FString> Flags;
InFlags.ParseIntoArray(Flags, TEXT(" "));
for (auto& Flag : Flags)
TArray<FString> 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))
Expand Down

0 comments on commit 3cab273

Please sign in to comment.