1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-27 09:38:39 +02:00

Make inherited TrackList::push_back private

This commit is contained in:
Paul Licameli 2019-02-11 19:30:13 -05:00
parent eede4dd79b
commit 166e73fdeb

View File

@ -1167,6 +1167,9 @@ wxDECLARE_EXPORTED_EVENT(AUDACITY_DLL_API,
class TrackList final : public wxEvtHandler, public ListOfTracks
, public std::enable_shared_from_this<TrackList>
{
// privatize this, make you use Add instead:
using ListOfTracks::push_back;
// privatize this, make you use Swap instead:
using ListOfTracks::swap;