Core/Networking: Fixed possible msvc debug assertions in vector

This commit is contained in:
Shauren
2015-05-02 00:02:57 +02:00
parent ab1b0cd496
commit e4abbc0926

View File

@@ -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; }