mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-08 16:11:14 +02:00
Prohibit use of inherited TrackList::clear()
This commit is contained in:
parent
8bf3791edf
commit
8fae9802dc
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user