Remove accidentally added const

pull/103/head
Tatsuhiro Tsujikawa 2013-06-29 23:11:14 +09:00
parent 5a223115e0
commit 6a3e26a34d
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}