mirror of https://github.com/aria2/aria2
Remove accidentally added const
parent
5a223115e0
commit
6a3e26a34d
|
@ -487,8 +487,8 @@ bool createRequestGroupFromUriListParser
|
|||
requestOption->remove(PREF_OUT);
|
||||
const auto& oparser = OptionParser::getInstance();
|
||||
for(size_t i = 1, len = option::countOption(); i < len; ++i) {
|
||||
const auto pref = option::i2p(i);
|
||||
const auto h = oparser->find(pref);
|
||||
auto pref = option::i2p(i);
|
||||
auto h = oparser->find(pref);
|
||||
if(h && h->getInitialOption() && tempOption.defined(pref)) {
|
||||
requestOption->put(pref, tempOption.get(pref));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue