Fix clang 13 compilation problems (#5791)
* Fix clang 13 compilation problems Re-instated ShowPlayedSequencesDebug logic by introducing no-op lambda which replaces missing `Draw2dLabel` functionality ( added TODO marker there ) Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * apply review suggestions Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * Fix type in assert message Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
@@ -3510,17 +3510,9 @@ void UiTextComponent::UnitTestLocalization(CLyShine* lyshine, IConsoleCmdArgs* /
|
||||
|
||||
AZStd::string localizationXml("libs/localization/localization.xml");
|
||||
|
||||
bool initLocSuccess = false;
|
||||
|
||||
if (pLocMan)
|
||||
if (!pLocMan || !pLocMan->InitLocalizationData(localizationXml.c_str()) || !pLocMan->LoadLocalizationDataByTag("init"))
|
||||
{
|
||||
if (pLocMan->InitLocalizationData(localizationXml.c_str()))
|
||||
{
|
||||
if (pLocMan->LoadLocalizationDataByTag("init"))
|
||||
{
|
||||
initLocSuccess = true;
|
||||
}
|
||||
}
|
||||
AZ_Assert(false, "Failed to load localization");
|
||||
}
|
||||
|
||||
ComponentGetSetTextTestsLoc(lyshine);
|
||||
|
||||
Reference in New Issue
Block a user