mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 09:57:44 +01:00
Fix C++11ism
This commit is contained in:
parent
8112d6472e
commit
b83c4f2fa4
1 changed files with 2 additions and 2 deletions
|
|
@ -1095,7 +1095,7 @@ LuaAPI::Rubberband::finalize ()
|
|||
|
||||
/* this is the same as RBEffect::finish, Filter::finish */
|
||||
SourceList sl;
|
||||
for (std::vector<boost::shared_ptr<AudioSource>>::iterator i = _asrc.begin (); i != _asrc.end (); ++i) {
|
||||
for (std::vector<boost::shared_ptr<AudioSource> >::iterator i = _asrc.begin (); i != _asrc.end (); ++i) {
|
||||
boost::shared_ptr<AudioFileSource> afs = boost::dynamic_pointer_cast<AudioFileSource> (*i);
|
||||
assert (afs);
|
||||
afs->done_with_peakfile_writes ();
|
||||
|
|
@ -1140,7 +1140,7 @@ void
|
|||
LuaAPI::Rubberband::cleanup (bool abort)
|
||||
{
|
||||
if (abort) {
|
||||
for (std::vector<boost::shared_ptr<AudioSource>>::iterator i = _asrc.begin (); i != _asrc.end (); ++i) {
|
||||
for (std::vector<boost::shared_ptr<AudioSource> >::iterator i = _asrc.begin (); i != _asrc.end (); ++i) {
|
||||
(*i)->mark_for_remove ();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue