mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-06 11:42:17 +01:00
One less indirection accessing SeqBlock
This commit is contained in:
@@ -80,9 +80,9 @@ void UndoManager::CalculateSpaceUsage()
|
||||
{
|
||||
// Scan all blockfiles within current clip
|
||||
BlockArray *blocks = it->GetData()->GetSequenceBlockArray();
|
||||
for (size_t b = 0, cnt = blocks->GetCount(); b < cnt; b++)
|
||||
for (size_t b = 0, cnt = blocks->size(); b < cnt; b++)
|
||||
{
|
||||
BlockFile *file = blocks->Item(b)->f;
|
||||
BlockFile *file = blocks->at(b).f;
|
||||
|
||||
// Accumulate space used by the file if the file didn't exist
|
||||
// in the previous level
|
||||
|
||||
Reference in New Issue
Block a user