mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
copy ellimination for ranges #part1
This commit is contained in:
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));
|
||||
|
||||
Reference in New Issue
Block a user