removes leftover of performance build

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-31 09:31:42 -07:00
parent 102c321e56
commit c128760ed0
13 changed files with 18 additions and 32 deletions
@@ -987,7 +987,7 @@ namespace AzFramework
void AssetCatalog::AddCatalogEntry(AZStd::shared_ptr<AzFramework::AssetRegistry> deltaCatalog)
{
AZStd::lock_guard<AZStd::recursive_mutex> lock(m_deltaCatalogMutex);
#if defined(PERFORMANCE_BUILD) || !defined(_RELEASE)
#if !defined(_RELEASE)
for (const auto& thisElement : m_deltaCatalogList)
{
if (thisElement == deltaCatalog)
@@ -1010,7 +1010,7 @@ namespace AzFramework
AZ_Warning("AssetCatalog", false, "Catalog name %p can't be inserted at slot %u", deltaCatalog.get(), catalogIndex);
return;
}
#if defined(PERFORMANCE_BUILD) || !defined(_RELEASE)
#if !defined(_RELEASE)
for (const auto& thisElement : m_deltaCatalogList)
{
if (thisElement == deltaCatalog)