more fixes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -517,7 +517,7 @@ namespace AZ
|
||||
bool result = GetTypeId() == id;
|
||||
|
||||
using dummy = bool[];
|
||||
dummy{ true, (IsTypeOfInternal<TArgs>(result, id), true)... };
|
||||
[[maybe_unused]] dummy d = { true, (IsTypeOfInternal<TArgs>(result, id), true)... };
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -118,7 +118,7 @@ namespace AzNetworking
|
||||
const int32_t connectionLength = aznumeric_cast<int32_t>(sizeof(newConnection));
|
||||
memset(&newConnection, 0, connectionLength);
|
||||
|
||||
auto readCallback = [this, newConnection, connectionLength](SocketFd socketFd)
|
||||
auto readCallback = [this, newConnection](SocketFd socketFd)
|
||||
{
|
||||
auto visitor = [this, newConnection, socketFd](ListenPort& listenPort)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user