mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Use reference whenever possible
This commit is contained in:
@@ -1632,7 +1632,7 @@ void TorrentImpl::endReceivedMetadataHandling(const Path &savePath, const PathLi
|
||||
{
|
||||
const auto nativeIndex = nativeIndexes.at(i);
|
||||
|
||||
const Path actualFilePath = fileNames.at(i);
|
||||
const Path &actualFilePath = fileNames.at(i);
|
||||
p.renamed_files[nativeIndex] = actualFilePath.toString().toStdString();
|
||||
|
||||
const Path filePath = actualFilePath.removedExtension(QB_EXT);
|
||||
|
||||
Reference in New Issue
Block a user