Use auto keyword and references more often

This commit is contained in:
Thomas Basler
2024-01-04 15:38:56 +01:00
parent b0b9764a23
commit 3c37b61f44
18 changed files with 48 additions and 48 deletions

View File

@@ -35,7 +35,7 @@ public:
static void sendTooManyRequests(AsyncWebServerRequest* request);
static void writeConfig(JsonObject& retMsg, const WebApiError code = WebApiError::GenericSuccess, const String& message = "Settings saved!");
static void writeConfig(JsonVariant& retMsg, const WebApiError code = WebApiError::GenericSuccess, const String& message = "Settings saved!");
private:
void loop();