fix PODArray::resize_fill

This commit is contained in:
Alexander Prudaev 2017-03-15 18:34:18 +03:00 committed by alexey-milovidov
parent c2c5128638
commit 227312875c

View File

@ -216,7 +216,7 @@ public:
if (n > old_size)
{
reserve(n);
memset(c_end, 0, n - old_size);
memset(c_end, 0, byte_size(n - old_size));
}
c_end = c_start + byte_size(n);
}