1
0
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:
Paul Licameli
2017-07-14 22:30:02 -04:00
parent 8bf3791edf
commit 8fae9802dc

View File

@@ -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();