1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-09 22:53:55 +01:00

auto_ptr (deprecated) -> unique_ptr (preferred in C++11)

This commit is contained in:
Paul Licameli
2016-02-05 20:27:09 -05:00
parent 9019df832f
commit daa7617e88
9 changed files with 16 additions and 16 deletions

View File

@@ -65,7 +65,7 @@ bool Generator::Process()
{
AudacityProject *p = GetActiveProject();
// Create a temporary track
std::auto_ptr<WaveTrack> tmp(
std::unique_ptr<WaveTrack> tmp(
mFactory->NewWaveTrack(track->GetSampleFormat(),
track->GetRate())
);