From 25323a92b72f458de159427bb109e6779b774047 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 1 Jul 2022 22:17:35 +0200 Subject: [PATCH] Fix shadowed declaration. --- modules/web/http_server_simple/http_server_simple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web/http_server_simple/http_server_simple.cpp b/modules/web/http_server_simple/http_server_simple.cpp index c2cd89de5..6e7038ded 100644 --- a/modules/web/http_server_simple/http_server_simple.cpp +++ b/modules/web/http_server_simple/http_server_simple.cpp @@ -247,7 +247,7 @@ void HTTPServerSimple::send_file(const String &p_file_path) { String req_ext = p_file_path.get_extension(); if (!mimes.has(req_ext)) { - const String ctype = mimes[req_ext]; + ctype = mimes[req_ext]; } else { ctype = "text/plain"; }