more fixes

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 10:09:44 -07:00
parent cf6c7c4d8d
commit a35464ca08
43 changed files with 28 additions and 134 deletions
@@ -2330,7 +2330,6 @@ namespace AZ::IO
// we only want to record ASSET access
// assets are identified as things which start with no alias, or with the @assets@ alias
auto assetPath = AZ::IO::FileIOBase::GetInstance()->ConvertToAlias(szFilename);
constexpr AZStd::string_view assetsAlias{ "@assets@" };
if (assetPath && assetPath->Native().starts_with("@assets@"))
{
IResourceList* pList = GetResourceList(m_eRecordFileOpenList);
@@ -887,7 +887,6 @@ namespace AZ::IO::ZipDir
{
FileRecordList arrFiles(GetRoot());
arrFiles.SortByFileOffset();
FileRecordList::ZipStats Stats = arrFiles.GetStats();
// we back up our file entries, because we'll need to restore them
// in case the operation fails
@@ -290,7 +290,7 @@ namespace AzFramework
namespace Internal
{
static AZStd::string PrintLuaValue(lua_State* lua, int stackIdx, int depth = 0)
AZStd::string PrintLuaValue(lua_State* lua, int stackIdx, int depth = 0)
{
constexpr int MaxDepth = 4;
if (depth > MaxDepth)