mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Merge pull request #118 from TsudaKageyu/fix-compile
Fix a compilation error
This commit is contained in:
commit
86cee56f74
@ -243,7 +243,7 @@ template <class T>
|
||||
List<T> &List<T>::prepend(const List<T> &l)
|
||||
{
|
||||
detach();
|
||||
d->list.insert(d->list.begin(), l.begin(), l.end());
|
||||
d->list.insert(d->list.begin(), l.d->list.begin(), l.d->list.end());
|
||||
return *this;
|
||||
}
|
||||
|
||||
@ -262,7 +262,7 @@ List<T> &List<T>::prepend(List<T> &&l)
|
||||
{
|
||||
detach();
|
||||
|
||||
for(Iterator it = l.rbegin(); it != l.rend(); ++it)
|
||||
for(typename std::list<T>::reverse_iterator it = l.d->list.rbegin(); it != l.d->list.rend(); ++it)
|
||||
d->list.push_front(std::move(*it));
|
||||
|
||||
return *this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user