1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 00:03:52 +02:00

Get rid of wx object arrays, use std::vector

This commit is contained in:
Paul Licameli
2018-02-02 13:24:53 -05:00
parent 89d8f0df63
commit 080dd34e61
56 changed files with 350 additions and 497 deletions

View File

@@ -35,7 +35,6 @@
#include <float.h>
#include <math.h>
#include <wx/dynarray.h>
#include <wx/intl.h>
#include <wx/filefn.h>
#include <wx/ffile.h>
@@ -1799,7 +1798,7 @@ void Sequence::Delete(sampleCount start, sampleCount len)
Read(scratch.ptr() + prepreLen*sampleSize, mSampleFormat,
preBlock, 0, preBufferLen, true);
newBlock.erase(newBlock.end() - 1);
newBlock.pop_back();
Blockify(*mDirManager, mMaxSamples, mSampleFormat,
newBlock, prepreBlock.start, scratch.ptr(), sum);
}