fix: gcc4.2 / PPC compilation

no match for 'operator!=' in 'x != std::list<_Tp, _Alloc>::rend()
[with _Tp = long long int, _Alloc = std::allocator<long long int>]()'
This commit is contained in:
Robin Gareus
2016-05-01 13:20:53 +02:00
parent 7bed91938b
commit 4727fa337d

View File

@@ -1959,7 +1959,7 @@ Playlist::find_next_transient (framepos_t from, int dir)
}
}
} else {
for (AnalysisFeatureList::const_reverse_iterator x = points.rbegin(); x != points.rend(); ++x) {
for (AnalysisFeatureList::reverse_iterator x = points.rbegin(); x != points.rend(); ++x) {
if ((*x) <= from) {
reached = true;
}