mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
copy ellimination for ranges #part1
This commit is contained in:
parent
788d1650a2
commit
b8ec63cf8c
17 changed files with 67 additions and 66 deletions
2
HTTP.cpp
2
HTTP.cpp
|
@ -160,7 +160,7 @@ namespace http {
|
|||
strsplit(query, tokens, '&');
|
||||
|
||||
params.clear();
|
||||
for (auto it : tokens) {
|
||||
for (const auto& it : tokens) {
|
||||
std::size_t eq = it.find ('=');
|
||||
if (eq != std::string::npos) {
|
||||
auto e = std::pair<std::string, std::string>(it.substr(0, eq), it.substr(eq + 1));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue