mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-10 08:25:52 +01:00
TrackFactory functions return std::unique_ptr, although some callers...
... release() them for now.
This commit is contained in:
@@ -65,7 +65,7 @@ bool Generator::Process()
|
||||
{
|
||||
AudacityProject *p = GetActiveProject();
|
||||
// Create a temporary track
|
||||
std::unique_ptr<WaveTrack> tmp(
|
||||
WaveTrack::Holder tmp(
|
||||
mFactory->NewWaveTrack(track->GetSampleFormat(),
|
||||
track->GetRate())
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user