diff --git a/src/Track.cpp b/src/Track.cpp index c21347ec5..3ed80cdef 100644 --- a/src/Track.cpp +++ b/src/Track.cpp @@ -878,7 +878,9 @@ Track *TrackList::Add(std::unique_ptr &&t) // Make instantiations for the linker to find template Track *TrackList::Add(std::unique_ptr &&); +#if defined(USE_MIDI) template Track *TrackList::Add(std::unique_ptr &&); +#endif template Track *TrackList::Add(std::unique_ptr &&); template Track *TrackList::Add(std::unique_ptr &&);