You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Fix some unnecessary string copies when calling FPaths::FileExists
#jira FORT-392314 [at]Michael.Kirzinger [at]Marc.Audy [at]Rob.Cannaday [at]Sam.Zamani #ROBOMERGE-SOURCE: CL 16923987 in //UE5/Main/... #ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935) [CL 16924003 by chris varnsverry in ue5-release-engine-test branch]
This commit is contained in:
@@ -131,7 +131,7 @@ private:
|
||||
OutStdErr = &DefaultError;
|
||||
}
|
||||
|
||||
if (FPaths::FileExists(*ADBPath))
|
||||
if (FPaths::FileExists(ADBPath))
|
||||
{
|
||||
FPlatformProcess::ExecProcess(*ADBPath, *CommandLine, &ReturnCode, OutStdOut, OutStdErr);
|
||||
|
||||
@@ -688,7 +688,7 @@ public:
|
||||
ADBPath = FPaths::Combine(*AndroidDirectory, SDKRelativeExePath);
|
||||
|
||||
// if it doesn't exist then just clear the path as we might set it later
|
||||
if (!FPaths::FileExists(*ADBPath))
|
||||
if (!FPaths::FileExists(ADBPath))
|
||||
{
|
||||
ADBPath.Empty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user