mirror of https://github.com/aria2/aria2
Fix invalid reference return in IndexedListIterator
parent
8d2191e488
commit
e25c0955c5
|
@ -103,7 +103,7 @@ struct IndexedListIterator {
|
|||
return *this;
|
||||
}
|
||||
|
||||
SelfType& operator--(int)
|
||||
SelfType operator--(int)
|
||||
{
|
||||
SelfType copy = *this;
|
||||
--*this;
|
||||
|
|
Loading…
Reference in New Issue