mirror of https://github.com/aria2/aria2
parent
cf96bec654
commit
16797b5264
|
@ -62,8 +62,7 @@ BtLeecherStateChoke::PeerEntry::PeerEntry(const std::shared_ptr<Peer>& peer)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
BtLeecherStateChoke::PeerEntry::PeerEntry(const PeerEntry& c)
|
BtLeecherStateChoke::PeerEntry::PeerEntry(const PeerEntry& c) = default;
|
||||||
= default;
|
|
||||||
|
|
||||||
void BtLeecherStateChoke::PeerEntry::swap(PeerEntry& c)
|
void BtLeecherStateChoke::PeerEntry::swap(PeerEntry& c)
|
||||||
{
|
{
|
||||||
|
|
|
@ -65,8 +65,7 @@ BtSeederStateChoke::PeerEntry::PeerEntry(const std::shared_ptr<Peer>& peer)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
BtSeederStateChoke::PeerEntry::PeerEntry(const PeerEntry& c)
|
BtSeederStateChoke::PeerEntry::PeerEntry(const PeerEntry& c) = default;
|
||||||
= default;
|
|
||||||
|
|
||||||
BtSeederStateChoke::PeerEntry::~PeerEntry() = default;
|
BtSeederStateChoke::PeerEntry::~PeerEntry() = default;
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,7 @@ DNSCache::AddrEntry::AddrEntry(const std::string& addr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
DNSCache::AddrEntry::AddrEntry(const AddrEntry& c)
|
DNSCache::AddrEntry::AddrEntry(const AddrEntry& c) = default;
|
||||||
= default;
|
|
||||||
|
|
||||||
DNSCache::AddrEntry::~AddrEntry() = default;
|
DNSCache::AddrEntry::~AddrEntry() = default;
|
||||||
|
|
||||||
|
@ -61,8 +60,7 @@ DNSCache::CacheEntry::CacheEntry(const std::string& hostname, uint16_t port)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
DNSCache::CacheEntry::CacheEntry(const CacheEntry& c)
|
DNSCache::CacheEntry::CacheEntry(const CacheEntry& c) = default;
|
||||||
= default;
|
|
||||||
|
|
||||||
DNSCache::CacheEntry::~CacheEntry() = default;
|
DNSCache::CacheEntry::~CacheEntry() = default;
|
||||||
|
|
||||||
|
|
|
@ -48,8 +48,7 @@ Option::Option()
|
||||||
|
|
||||||
Option::~Option() = default;
|
Option::~Option() = default;
|
||||||
|
|
||||||
Option::Option(const Option& option)
|
Option::Option(const Option& option) = default;
|
||||||
= default;
|
|
||||||
|
|
||||||
Option& Option::operator=(const Option& option)
|
Option& Option::operator=(const Option& option)
|
||||||
{
|
{
|
||||||
|
|
|
@ -344,8 +344,8 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
|
||||||
handlers.push_back(op);
|
handlers.push_back(op);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
OptionHandler* op(new BooleanOptionHandler(
|
OptionHandler* op(new BooleanOptionHandler(PREF_SAVE_NOT_FOUND,
|
||||||
PREF_SAVE_NOT_FOUND, TEXT_SAVE_NOT_FOUND, A2_V_TRUE,
|
TEXT_SAVE_NOT_FOUND, A2_V_TRUE,
|
||||||
OptionHandler::OPT_ARG));
|
OptionHandler::OPT_ARG));
|
||||||
op->addTag(TAG_ADVANCED);
|
op->addTag(TAG_ADVANCED);
|
||||||
op->setInitialOption(true);
|
op->setInitialOption(true);
|
||||||
|
|
|
@ -43,8 +43,7 @@ PeerAddrEntry::PeerAddrEntry(const std::string& ipaddr, uint16_t port,
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
PeerAddrEntry::PeerAddrEntry(const PeerAddrEntry& c)
|
PeerAddrEntry::PeerAddrEntry(const PeerAddrEntry& c) = default;
|
||||||
= default;
|
|
||||||
|
|
||||||
PeerAddrEntry::~PeerAddrEntry() = default;
|
PeerAddrEntry::~PeerAddrEntry() = default;
|
||||||
|
|
||||||
|
|
|
@ -43,8 +43,7 @@ Range::Range(int64_t startByte, int64_t endByte, int64_t entityLength)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
Range::Range(const Range& c)
|
Range::Range(const Range& c) = default;
|
||||||
= default;
|
|
||||||
|
|
||||||
Range::~Range() = default;
|
Range::~Range() = default;
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,8 @@ ValueBaseStructParserStateMachine::ValueBaseStructParserStateMachine()
|
||||||
stateStack_.push(valueState);
|
stateStack_.push(valueState);
|
||||||
}
|
}
|
||||||
|
|
||||||
ValueBaseStructParserStateMachine::~ValueBaseStructParserStateMachine() = default;
|
ValueBaseStructParserStateMachine::~ValueBaseStructParserStateMachine() =
|
||||||
|
default;
|
||||||
|
|
||||||
void ValueBaseStructParserStateMachine::reset()
|
void ValueBaseStructParserStateMachine::reset()
|
||||||
{
|
{
|
||||||
|
|
|
@ -45,8 +45,7 @@ UriStruct::UriStruct() : port(0), hasPassword(false), ipv6LiteralAddress(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
UriStruct::UriStruct(const UriStruct& c)
|
UriStruct::UriStruct(const UriStruct& c) = default;
|
||||||
= default;
|
|
||||||
|
|
||||||
UriStruct::~UriStruct() = default;
|
UriStruct::~UriStruct() = default;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue