13
0

Fix C++11ism

This commit is contained in:
Robin Gareus 2020-01-13 22:47:50 +01:00
parent 8112d6472e
commit b83c4f2fa4
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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 ();
}
}