17 lines
509 B
C++
17 lines
509 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "UniversalObjectLocatorStringParams.h"
|
|
#include "Containers/StringView.h"
|
|
|
|
namespace UE::UniversalObjectLocator
|
|
{
|
|
|
|
FStringView FParseStringResult::Progress(FStringView CurrentString, int32 NumToProgress)
|
|
{
|
|
checkf(NumToProgress <= CurrentString.Len(), TEXT("Attempting to progress past the end of the current string!"));
|
|
|
|
NumCharsParsed += NumToProgress;
|
|
return CurrentString.RightChop(NumToProgress);
|
|
}
|
|
|
|
} // namespace UE::UniversalObjectLocator
|