mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +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:
@@ -134,7 +134,7 @@ protected:
|
||||
|
||||
void HandleNewSocketsProxyReadingOnConnect()
|
||||
{
|
||||
size_t index = 0;
|
||||
std::size_t index = 0;
|
||||
std::vector<int> newSocketsToRemoveIndexes;
|
||||
for (auto sock_iter = _newSockets.begin(); sock_iter != _newSockets.end(); ++sock_iter, ++index)
|
||||
{
|
||||
|
||||
@@ -205,7 +205,7 @@ protected:
|
||||
}
|
||||
|
||||
private:
|
||||
void ReadHandlerInternal(boost::system::error_code error, size_t transferredBytes)
|
||||
void ReadHandlerInternal(boost::system::error_code error, std::size_t transferredBytes)
|
||||
{
|
||||
if (error)
|
||||
{
|
||||
@@ -219,7 +219,7 @@ private:
|
||||
|
||||
// ProxyReadHeaderHandler reads Proxy Protocol v2 header (v1 is not supported).
|
||||
// See https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt (2.2. Binary header format (version 2)) for more details.
|
||||
void ProxyReadHeaderHandler(boost::system::error_code error, size_t transferredBytes)
|
||||
void ProxyReadHeaderHandler(boost::system::error_code error, std::size_t transferredBytes)
|
||||
{
|
||||
if (error)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user