Fixed typo in PutBits

This commit is contained in:
Shauren
2012-09-02 14:22:18 +02:00
parent 13e1e23611
commit c649e2fe6b

View File

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