mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-06 17:13:49 +01:00
Redo "Provide STL idiom for iterating tracks..." ...
... Being careful not to use operator == on a default-constructed
std::list::iterator, which violates assertions in the MSVC libraries.
This reverts commit 7fb5ec4b7a.
This commit is contained in:
committed by
Paul Licameli
parent
01718da4a2
commit
a30defe8ca
@@ -2170,7 +2170,8 @@ void Effect::ReplaceProcessedTracks(const bool bGoodResult)
|
||||
// Assume resources need to be freed.
|
||||
wxASSERT(mOutputTracks); // Make sure we at least did the CopyInputTracks().
|
||||
|
||||
auto iterOut = mOutputTracks->begin(), iterEnd = mOutputTracks->end();
|
||||
auto iterOut = mOutputTracks->ListOfTracks::begin(),
|
||||
iterEnd = mOutputTracks->ListOfTracks::end();
|
||||
|
||||
size_t cnt = mOMap.size();
|
||||
size_t i = 0;
|
||||
|
||||
Reference in New Issue
Block a user