mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Fixed FIFO::ResizeBuffer
This commit is contained in:
parent
2ffaff19a8
commit
dbe59841d6
@ -57,6 +57,8 @@ void FIFO::ResizeBuffer(size_t newSize)
|
||||
if (newBuffer == NULL)
|
||||
throw bad_alloc();
|
||||
|
||||
m_Buffer = newBuffer;
|
||||
|
||||
m_AllocSize = newSize;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user