mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-04 08:17:30 +00:00
copy ellimination for ranges #part1
This commit is contained in:
1 parent
788d1650a2
commit
b8ec63cf8c
17 files changed
+67
-66
No files matched your search
@@ -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