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:
@@ -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())
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user