forked from Bananymous/banan-os
BAN: Fix LinkedList::pop_back()
This commit is contained in:
parent
9a3286ad57
commit
971eb737c1
|
@ -195,7 +195,7 @@ namespace BAN
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void LinkedList<T>::pop_back()
|
void LinkedList<T>::pop_back()
|
||||||
{
|
{
|
||||||
return remove(m_last);
|
remove(iterator(m_last, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|
Loading…
Reference in New Issue