mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 00:53:46 +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:
@@ -1007,7 +1007,7 @@ ByteBuffer& operator<<(ByteBuffer& b, LootView const& lv)
|
||||
|
||||
b << uint32(l.gold); //gold
|
||||
|
||||
size_t count_pos = b.wpos(); // pos of item count byte
|
||||
std::size_t count_pos = b.wpos(); // pos of item count byte
|
||||
b << uint8(0); // item count placeholder
|
||||
|
||||
switch (lv.permission)
|
||||
@@ -1546,7 +1546,7 @@ LootTemplate::~LootTemplate()
|
||||
Entries.pop_back();
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < Groups.size(); ++i)
|
||||
for (std::size_t i = 0; i < Groups.size(); ++i)
|
||||
delete Groups[i];
|
||||
Groups.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user