SurfaceData
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -271,7 +271,7 @@ namespace UnitTest
|
||||
{
|
||||
// We don't actually remove the entry from our list because we use handles as indices, so the indices can't change.
|
||||
// Clearing out the entity Id should be good enough.
|
||||
uint32 index = static_cast<uint32>(handle) - 1;
|
||||
uint32_t index = static_cast<uint32_t>(handle) - 1;
|
||||
if (index < entryList.size())
|
||||
{
|
||||
entryList[index].m_entityId = AZ::EntityId();
|
||||
@@ -281,7 +281,7 @@ namespace UnitTest
|
||||
void UpdateEntry(const SurfaceData::SurfaceDataRegistryHandle& handle, const SurfaceData::SurfaceDataRegistryEntry& entry,
|
||||
AZStd::vector<SurfaceData::SurfaceDataRegistryEntry>& entryList)
|
||||
{
|
||||
uint32 index = static_cast<uint32>(handle) - 1;
|
||||
uint32_t index = static_cast<uint32_t>(handle) - 1;
|
||||
if (index < entryList.size())
|
||||
{
|
||||
entryList[index] = entry;
|
||||
|
||||
Reference in New Issue
Block a user