mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
make string type argument const string& where possible
This commit is contained in:
parent
1457d7f660
commit
b1d46227d4
41 changed files with 69 additions and 74 deletions
|
@ -46,6 +46,6 @@ HttpDownloadCommand::~HttpDownloadCommand() {
|
|||
}
|
||||
}
|
||||
|
||||
TransferEncoding* HttpDownloadCommand::getTransferEncoding(string name) {
|
||||
TransferEncoding* HttpDownloadCommand::getTransferEncoding(const string& name) {
|
||||
return transferEncodings[name];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue