mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 22:53:55 +01:00
Don't use wxArrayPtrVoid with casts, use std::vector
This commit is contained in:
@@ -329,10 +329,11 @@ bool EffectEqualization48x::TrackCompare()
|
||||
mEffectEqualization->mM=(mEffectEqualization->mM&(~15))+1;
|
||||
AllocateBuffersWorkers(sMathPath&MATH_FUNCTION_THREADED);
|
||||
// Reset map
|
||||
wxArrayPtrVoid SecondIMap;
|
||||
wxArrayPtrVoid SecondOMap;
|
||||
SecondIMap.Clear();
|
||||
SecondOMap.Clear();
|
||||
// PRL: These two maps aren't really used
|
||||
std::vector<Track*> SecondIMap;
|
||||
std::vector<Track*> SecondOMap;
|
||||
SecondIMap.clear();
|
||||
SecondOMap.clear();
|
||||
|
||||
TrackList SecondOutputTracks;
|
||||
|
||||
@@ -346,8 +347,8 @@ bool EffectEqualization48x::TrackCompare()
|
||||
(mEffectEqualization->mOutputTracksType == Track::All && aTrack->IsSyncLockSelected()))
|
||||
{
|
||||
auto o = aTrack->Duplicate();
|
||||
SecondIMap.Add(aTrack);
|
||||
SecondIMap.Add(o.get());
|
||||
SecondIMap.push_back(aTrack);
|
||||
SecondIMap.push_back(o.get());
|
||||
SecondOutputTracks.Add(std::move(o));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user