mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +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:
@@ -5002,7 +5002,7 @@ void Spell::WriteSpellGoTargets(WorldPacket* data)
|
||||
// correct count for both hit and miss).
|
||||
|
||||
uint32 hit = 0;
|
||||
size_t hitPos = data->wpos();
|
||||
std::size_t hitPos = data->wpos();
|
||||
*data << (uint8)0; // placeholder
|
||||
for (std::list<TargetInfo>::const_iterator ihit = m_UniqueTargetInfo.begin(); ihit != m_UniqueTargetInfo.end() && hit < 255; ++ihit)
|
||||
{
|
||||
@@ -5022,7 +5022,7 @@ void Spell::WriteSpellGoTargets(WorldPacket* data)
|
||||
}
|
||||
|
||||
uint32 miss = 0;
|
||||
size_t missPos = data->wpos();
|
||||
std::size_t missPos = data->wpos();
|
||||
*data << (uint8)0; // placeholder
|
||||
for (std::list<TargetInfo>::const_iterator ihit = m_UniqueTargetInfo.begin(); ihit != m_UniqueTargetInfo.end() && miss < 255; ++ihit)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user