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>
|
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Rewritten Accept-Features handling.
|
Rewritten Accept-Features handling.
|
||||||
|
|
|
@ -106,7 +106,7 @@ void MetalinkEntry::setLocationPreference(const std::deque<std::string>& locatio
|
||||||
|
|
||||||
class AddProtocolPreference {
|
class AddProtocolPreference {
|
||||||
private:
|
private:
|
||||||
const std::string& _protocol;
|
std::string _protocol;
|
||||||
int _preferenceToAdd;
|
int _preferenceToAdd;
|
||||||
public:
|
public:
|
||||||
AddProtocolPreference(const std::string& protocol, int prefToAdd):
|
AddProtocolPreference(const std::string& protocol, int prefToAdd):
|
||||||
|
|
|
@ -897,7 +897,7 @@ ServerHostHandle RequestGroup::searchServerHost(int32_t cuid) const
|
||||||
class FindServerHostByHostname
|
class FindServerHostByHostname
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
const std::string& _hostname;
|
std::string _hostname;
|
||||||
public:
|
public:
|
||||||
FindServerHostByHostname(const std::string& hostname):_hostname(hostname) {}
|
FindServerHostByHostname(const std::string& hostname):_hostname(hostname) {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue