mirror of https://github.com/aria2/aria2
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Removed const ref * src/MetalinkEntry.cc (AddProtocolPreference) * src/RequestGroup.cc (FindServerHostByHostname)pull/1/head
parent
7ea0e831d4
commit
3c8918cfe0
|
@ -1,3 +1,9 @@
|
|||
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Removed const ref
|
||||
* src/MetalinkEntry.cc (AddProtocolPreference)
|
||||
* src/RequestGroup.cc (FindServerHostByHostname)
|
||||
|
||||
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Rewritten Accept-Features handling.
|
||||
|
|
|
@ -106,7 +106,7 @@ void MetalinkEntry::setLocationPreference(const std::deque<std::string>& locatio
|
|||
|
||||
class AddProtocolPreference {
|
||||
private:
|
||||
const std::string& _protocol;
|
||||
std::string _protocol;
|
||||
int _preferenceToAdd;
|
||||
public:
|
||||
AddProtocolPreference(const std::string& protocol, int prefToAdd):
|
||||
|
|
|
@ -897,7 +897,7 @@ ServerHostHandle RequestGroup::searchServerHost(int32_t cuid) const
|
|||
class FindServerHostByHostname
|
||||
{
|
||||
private:
|
||||
const std::string& _hostname;
|
||||
std::string _hostname;
|
||||
public:
|
||||
FindServerHostByHostname(const std::string& hostname):_hostname(hostname) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue