minor fixes in ESP32/ESP8266 code diffs

This commit is contained in:
Emil Muratov
2024-07-02 21:49:18 +09:00
committed by Mathieu Carbou
parent 4240b337d5
commit e4d9cf2d3f
5 changed files with 20 additions and 16 deletions

View File

@@ -661,10 +661,6 @@ bool AsyncWebServerRequest::hasParam(const String& name, bool post, bool file) c
return false;
}
bool AsyncWebServerRequest::hasParam(const __FlashStringHelper* data, bool post, bool file) const {
return hasParam(String(data).c_str(), post, file);
}
const AsyncWebParameter* AsyncWebServerRequest::getParam(const char* name, bool post, bool file) const {
for (const auto& p : _params) {
if (p.name() == name && p.isPost() == post && p.isFile() == file) {