Fixed FIFO::ResizeBuffer

This commit is contained in:
Gunnar Beutner 2012-05-27 00:27:55 +02:00
parent 2ffaff19a8
commit dbe59841d6
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ void FIFO::ResizeBuffer(size_t newSize)
if (newBuffer == NULL)
throw bad_alloc();
m_Buffer = newBuffer;
m_AllocSize = newSize;
}