mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 13:12:17 +01:00
Prohibit use of inherited TrackList::clear()
This commit is contained in:
@@ -540,6 +540,8 @@ class TrackList final : public wxEvtHandler, public ListOfTracks
|
||||
TrackList(const TrackList &that) = delete;
|
||||
TrackList(TrackList &&that) = delete;
|
||||
|
||||
void clear() = delete;
|
||||
|
||||
public:
|
||||
// Create an empty TrackList
|
||||
static std::shared_ptr<TrackList> Create();
|
||||
|
||||
Reference in New Issue
Block a user