refactor(Core): rename namespaces and macros to acore (#2454)

This commit is contained in:
Viste
2019-12-01 15:13:31 +03:00
committed by Francesco Borzì
parent e19e95e5d0
commit e22d78ecd6
278 changed files with 1292 additions and 1309 deletions

View File

@@ -279,7 +279,7 @@ void ThreatContainer::modifyThreatPercent(Unit* victim, int32 percent)
void ThreatContainer::update()
{
if (iDirty && iThreatList.size() > 1)
iThreatList.sort(Trinity::ThreatOrderPred());
iThreatList.sort(acore::ThreatOrderPred());
iDirty = false;
}

View File

@@ -259,7 +259,7 @@ class ThreatManager
//=================================================
namespace Trinity
namespace acore
{
// Binary predicate for sorting HostileReferences based on threat value
class ThreatOrderPred