mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 15:16:24 +00:00
refactor(src/common): remove unused imports (#19506)
* refactor(src/common): remove unused imports * fix: build * chore: fix build * chore: size_t -> std::size_t * chore: fix fuckup from previous commit * chore: fix build * chore: fix build * chore: fix build * chore: fix build with std::size_t * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build
This commit is contained in:
@@ -1709,7 +1709,7 @@ namespace Acore
|
||||
|
||||
~LocalizedPacketDo()
|
||||
{
|
||||
for (size_t i = 0; i < i_data_cache.size(); ++i)
|
||||
for (std::size_t i = 0; i < i_data_cache.size(); ++i)
|
||||
delete i_data_cache[i];
|
||||
}
|
||||
void operator()(Player* p);
|
||||
@@ -1729,8 +1729,8 @@ namespace Acore
|
||||
|
||||
~LocalizedPacketListDo()
|
||||
{
|
||||
for (size_t i = 0; i < i_data_cache.size(); ++i)
|
||||
for (size_t j = 0; j < i_data_cache[i].size(); ++j)
|
||||
for (std::size_t i = 0; i < i_data_cache.size(); ++i)
|
||||
for (std::size_t j = 0; j < i_data_cache[i].size(); ++j)
|
||||
delete i_data_cache[i][j];
|
||||
}
|
||||
void operator()(Player* p);
|
||||
|
||||
@@ -580,7 +580,7 @@ void Acore::LocalizedPacketListDo<Builder>::operator()(Player* p)
|
||||
else
|
||||
data_list = &i_data_cache[cache_idx];
|
||||
|
||||
for (size_t i = 0; i < data_list->size(); ++i)
|
||||
for (std::size_t i = 0; i < data_list->size(); ++i)
|
||||
p->SendDirectMessage((*data_list)[i]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user