@lumberyard-employee-dm suggestion to use (w)string_view as the src to simplify functions in conversions.h
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -1186,7 +1186,7 @@ void UiTextInputComponent::UpdateDisplayedTextFunction()
|
||||
// work for cases tested but may not in general.
|
||||
wchar_t wcharString[2] = { static_cast<wchar_t>(this->GetReplacementCharacter()), 0 };
|
||||
AZStd::string replacementCharString;
|
||||
AZStd::to_string(replacementCharString, wcharString, 1);
|
||||
AZStd::to_string(replacementCharString, { wcharString, 1 });
|
||||
|
||||
int numReplacementChars = LyShine::GetUtf8StringLength(originalText);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user