1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-16 17:41:14 +01:00

Remove more uses of at(); use a std::vector of bare pointers, not wx array

This commit is contained in:
Paul Licameli
2016-02-16 09:35:03 -05:00
parent b0295c34df
commit 55d85f1b25
6 changed files with 7 additions and 7 deletions

View File

@@ -205,7 +205,7 @@ void ODComputeSummaryTask::Update()
for(i=0; i<(int)blocks->size(); i++)
{
//if there is data but no summary, this blockfile needs summarizing.
SeqBlock &block = blocks->at(i);
SeqBlock &block = (*blocks)[i];
BlockFile *const file = block.f;
if(file->IsDataAvailable() && !file->IsSummaryAvailable())
{

View File

@@ -157,7 +157,7 @@ void ODDecodeTask::Update()
for (i = 0; i<(int)blocks->size(); i++)
{
//since we have more than one ODBlockFile, we will need type flags to cast.
SeqBlock &block = blocks->at(i);
SeqBlock &block = (*blocks)[i];
BlockFile *const file = block.f;
ODDecodeBlockFile *oddbFile;
if (!file->IsDataAvailable() &&