mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Networking: Fixed possible msvc debug assertions in vector
This commit is contained in:
@@ -55,9 +55,9 @@ public:
|
||||
|
||||
uint8* GetBasePointer() { return _storage.data(); }
|
||||
|
||||
uint8* GetReadPointer() { return &_storage[_rpos]; }
|
||||
uint8* GetReadPointer() { return GetBasePointer() + _rpos; }
|
||||
|
||||
uint8* GetWritePointer() { return &_storage[_wpos]; }
|
||||
uint8* GetWritePointer() { return GetBasePointer() + _wpos; }
|
||||
|
||||
void ReadCompleted(size_type bytes) { _rpos += bytes; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user