mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-19 17:28:09 +01:00
More const and override
This commit is contained in:
@@ -76,7 +76,7 @@ void ODWaveTrackTaskQueue::MergeWaveTrack(WaveTrack* track)
|
||||
}
|
||||
|
||||
///returns true if the argument is in the WaveTrack list.
|
||||
bool ODWaveTrackTaskQueue::ContainsWaveTrack(WaveTrack* track)
|
||||
bool ODWaveTrackTaskQueue::ContainsWaveTrack(const WaveTrack* track)
|
||||
{
|
||||
mTracksMutex.Lock();
|
||||
for(unsigned int i=0;i<mTracks.size();i++)
|
||||
@@ -326,7 +326,7 @@ ODTask* ODWaveTrackTaskQueue::GetFrontTask()
|
||||
}
|
||||
|
||||
///fills in the status bar message for a given track
|
||||
void ODWaveTrackTaskQueue::FillTipForWaveTrack( WaveTrack * t, wxString &tip )
|
||||
void ODWaveTrackTaskQueue::FillTipForWaveTrack( const WaveTrack * t, wxString &tip )
|
||||
{
|
||||
if(ContainsWaveTrack(t) && GetNumTasks())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user