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
1 changed files with 2 additions and 0 deletions

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