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:
@@ -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())
|
||||
{
|
||||
|
||||
@@ -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() &&
|
||||
|
||||
Reference in New Issue
Block a user