mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Move an array definition to Snap.h, use std::vector
This commit is contained in:
@@ -82,7 +82,7 @@ SnapManager::SnapManager(TrackList *tracks, TrackClipArray *exclusions,
|
||||
WaveClip *clip = it->GetData();
|
||||
if (exclusions) {
|
||||
bool skip = false;
|
||||
for(int j=0; j<(int)exclusions->GetCount(); j++) {
|
||||
for(int j=0; j<(int)exclusions->size(); j++) {
|
||||
if ((*exclusions)[j].track == waveTrack &&
|
||||
(*exclusions)[j].clip == clip)
|
||||
skip = true;
|
||||
|
Reference in New Issue
Block a user