Use std::auto_ptr instead of boost::scoped_ptr in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2665 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e34d3e3312
commit
3bf4a04d94
|
@ -164,7 +164,7 @@ Session::import_audiofile (import_status& status)
|
|||
return -1;
|
||||
}
|
||||
|
||||
boost::scoped_ptr<ImportableSource> importable;
|
||||
std::auto_ptr<ImportableSource> importable;
|
||||
|
||||
if ((nframes_t) info.samplerate != frame_rate()) {
|
||||
importable.reset(new ResampledImportableSource (in.get(), &info, frame_rate(), status.quality));
|
||||
|
|
Loading…
Reference in New Issue
Block a user