51e5a2376a
The growBy() function takes the _increment_ of the size(), so needs to
add size() to increment for the call to realloc().
Add a test which hangs (vanilla build) or explodes (valgrind build)
without the fix.
Amends
|
||
---|---|---|
.. | ||
.gitignore | ||
CMakeLists.txt | ||
tst_qvarlengtharray.cpp |