String: Remove erase method, bindings can't mutate String

This commit is contained in:
Rémi Verschelde
2021-11-11 09:08:08 +01:00
parent 171a69757f
commit 2beaae4b6f
10 changed files with 24 additions and 41 deletions

View File

@ -85,8 +85,7 @@ String HTTPClient::query_string_from_dict(const Dictionary &p_dict) {
}
}
}
query.erase(0, 1);
return query;
return query.substr(1);
}
Dictionary HTTPClient::_get_response_headers_as_dictionary() {