mirror of https://github.com/aria2/aria2
2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Removed unnecessary sorting * src/DefaultPieceStorage (DefaultPieceStorage)pull/1/head
parent
99f07b515f
commit
d4d608eeb0
|
@ -1,3 +1,8 @@
|
||||||
|
2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
|
Removed unnecessary sorting
|
||||||
|
* src/DefaultPieceStorage (DefaultPieceStorage)
|
||||||
|
|
||||||
2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Rewritten the portion of the code that mangaes allowed fast indexes.
|
Rewritten the portion of the code that mangaes allowed fast indexes.
|
||||||
|
|
|
@ -107,7 +107,6 @@ DefaultPieceStorage::DefaultPieceStorage(const DownloadContextHandle& downloadCo
|
||||||
(*i)->setOrder(order++);
|
(*i)->setOrder(order++);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::sort(_sortedPieceStats.begin(), _sortedPieceStats.end(), PieceRarer());
|
|
||||||
|
|
||||||
logger = LogFactory::getInstance();
|
logger = LogFactory::getInstance();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue