You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix for ranged-for string iteration returning the null terminator.
Redundant (now) test removed from FUnrealSourceFile::GetFileId. PLATFORM_COMPILER_HAS_RANGED_FOR_LOOP macro removed. #codereview robert.manuszewski,leigh.swift [CL 2468804 by Steve Robb in Main branch]
This commit is contained in:
@@ -21,11 +21,7 @@ FString FUnrealSourceFile::GetFileId() const
|
||||
StdFilename = StdFilename.Mid(9);
|
||||
for (auto Char : StdFilename)
|
||||
{
|
||||
if (Char == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
else if (FChar::IsAlnum(Char))
|
||||
if (FChar::IsAlnum(Char))
|
||||
{
|
||||
Out.AppendChar(Char);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user