1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-29 16:08:46 +01:00

Track::GetKind is private

This commit is contained in:
Paul Licameli
2017-01-06 01:59:17 -05:00
parent b5f52e7c1c
commit b36c3efec1
3 changed files with 5 additions and 8 deletions

View File

@@ -411,10 +411,9 @@ public:
// May assume precondition: t0 <= t1
virtual void InsertSilence(double WXUNUSED(t), double WXUNUSED(len)) = 0;
// to do: privatize this
private:
virtual TrackKind GetKind() const { return TrackKind::None; }
private:
template<typename T>
friend typename std::enable_if< std::is_pointer<T>::value, T >::type
track_cast(Track *track);