AsyncWebServerRequest::_params replace with STL container

-    LinkedList<AsyncWebRewrite*> _rewrites;
+    std::list<std::shared_ptr<AsyncWebRewrite> > _rewrites;
This commit is contained in:
Emil Muratov
2024-06-26 22:27:08 +09:00
committed by Mathieu Carbou
parent aefc4a0f4e
commit d5c2af8dc2
3 changed files with 71 additions and 16 deletions

View File

@@ -705,8 +705,8 @@ const AsyncWebParameter* AsyncWebServerRequest::getParam(const String& name, boo
}
#ifdef ESP8266
AsyncWebParameter* AsyncWebServerRequest::getParam(const __FlashStringHelper * data, bool post, bool file) const {
return getParam(String(data).c_str(), post, file);
const AsyncWebParameter* AsyncWebServerRequest::getParam(const __FlashStringHelper * data, bool post, bool file) const {
return getParam(String(data), post, file);
}
#endif