mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 16:43:47 +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:
@@ -36,7 +36,7 @@ namespace WorldPackets
|
||||
virtual void Read() = 0;
|
||||
|
||||
[[nodiscard]] WorldPacket const* GetRawPacket() const { return &_worldPacket; }
|
||||
[[nodiscard]] size_t GetSize() const { return _worldPacket.size(); }
|
||||
[[nodiscard]] std::size_t GetSize() const { return _worldPacket.size(); }
|
||||
|
||||
protected:
|
||||
WorldPacket _worldPacket;
|
||||
@@ -45,7 +45,7 @@ namespace WorldPackets
|
||||
class AC_GAME_API ServerPacket : public Packet
|
||||
{
|
||||
public:
|
||||
ServerPacket(OpcodeServer opcode, size_t initialSize = 200);
|
||||
ServerPacket(OpcodeServer opcode, std::size_t initialSize = 200);
|
||||
|
||||
void Read() final;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user