mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-04 16:27:48 +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:
@@ -138,14 +138,14 @@ void GmTicket::SendResponse(WorldSession* session) const
|
||||
data << uint32(_id); // ticketID
|
||||
data << _message.c_str();
|
||||
|
||||
size_t len = _response.size();
|
||||
std::size_t len = _response.size();
|
||||
char const* s = _response.c_str();
|
||||
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
if (len)
|
||||
{
|
||||
size_t writeLen = std::min<size_t>(len, 3999);
|
||||
std::size_t writeLen = std::min<size_t>(len, 3999);
|
||||
data.append(s, writeLen);
|
||||
|
||||
len -= writeLen;
|
||||
|
||||
Reference in New Issue
Block a user