mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 14:07:37 +03:00
2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Receive the return value as const reference from DownloadContext::getFileEntries(). * src/DefaultPieceStorage.cc * src/RequestGroupMan.cc * src/XmlRpcMethodImpl.cc
This commit is contained in:
parent
39472a64eb
commit
85db426de5
4 changed files with 12 additions and 4 deletions
|
@ -396,7 +396,7 @@ BDE GetFilesXmlRpcMethod::process
|
|||
createFileEntry(files, dr->fileEntries.begin(), dr->fileEntries.end());
|
||||
}
|
||||
} else {
|
||||
std::deque<SharedHandle<FileEntry> > fileEntries =
|
||||
const std::deque<SharedHandle<FileEntry> >& fileEntries =
|
||||
group->getDownloadContext()->getFileEntries();
|
||||
createFileEntry(files, fileEntries.begin(), fileEntries.end());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue