mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 05:01:57 +01:00
More const qualifiers, for copying of tracks, and replacing in lists of tracks
... (the tracks may be const, not the list, when replacing)
This commit is contained in:
@@ -469,7 +469,7 @@ bool NoteTrack::Cut(double t0, double t1, Track **dest){
|
||||
return true;
|
||||
}
|
||||
|
||||
bool NoteTrack::Copy(double t0, double t1, Track **dest){
|
||||
bool NoteTrack::Copy(double t0, double t1, Track **dest) const {
|
||||
|
||||
//dest goes onto clipboard
|
||||
*dest = NULL; // This is redundant and matches WaveTrack::Copy
|
||||
|
||||
Reference in New Issue
Block a user