make string type argument const string& where possible

This commit is contained in:
Tatsuhiro Tsujikawa 2006-04-19 17:49:03 +00:00
parent 1457d7f660
commit b1d46227d4
41 changed files with 69 additions and 74 deletions

View file

@ -46,6 +46,6 @@ HttpDownloadCommand::~HttpDownloadCommand() {
}
}
TransferEncoding* HttpDownloadCommand::getTransferEncoding(string name) {
TransferEncoding* HttpDownloadCommand::getTransferEncoding(const string& name) {
return transferEncodings[name];
}