mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 12:03:48 +00:00
refactor(Core/Misc): isEmpty to IsEmpty (#10011)
This commit is contained in:
@@ -115,12 +115,12 @@ public:
|
||||
|
||||
/*bool NoWorldObjectInGrid() const
|
||||
{
|
||||
return i_objects.GetElements().isEmpty();
|
||||
return i_objects.GetElements().IsEmpty();
|
||||
}
|
||||
|
||||
bool NoGridObjectInGrid() const
|
||||
{
|
||||
return i_container.GetElements().isEmpty();
|
||||
return i_container.GetElements().IsEmpty();
|
||||
}*/
|
||||
private:
|
||||
TypeMapContainer<GRID_OBJECT_TYPES> i_container;
|
||||
|
||||
@@ -200,7 +200,7 @@ void ObjectGridLoader::LoadN(void)
|
||||
template<class T>
|
||||
void ObjectGridUnloader::Visit(GridRefMgr<T>& m)
|
||||
{
|
||||
while (!m.isEmpty())
|
||||
while (!m.IsEmpty())
|
||||
{
|
||||
T* obj = m.getFirst()->GetSource();
|
||||
// if option set then object already saved at this moment
|
||||
|
||||
Reference in New Issue
Block a user