mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Fixed typo in PutBits
This commit is contained in:
@@ -204,7 +204,7 @@ class ByteBuffer
|
||||
template <typename T> void PutBits(size_t pos, T value, uint32 bitCount)
|
||||
{
|
||||
if (!bitCount)
|
||||
throw ByteBufferSourceException((pos + bitCount) / 8, , size(), 0);
|
||||
throw ByteBufferSourceException((pos + bitCount) / 8, size(), 0);
|
||||
|
||||
if (pos + bitCount > size() * 8)
|
||||
throw ByteBufferPositionException(false, (pos + bitCount) / 8, size(), (bitCount - 1) / 8 + 1);
|
||||
|
||||
Reference in New Issue
Block a user