Skip to content

Commit 70b259f

Browse files
committed
Fix name collision warning
1 parent aec8e7b commit 70b259f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ESPAsyncWebServer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
// If the user explicitly defined ASYNCWEBSERVER_NO_GLOBAL_HTTP_METHODS, we assume they are using safely
7676
// namespaced references and AsyncWebServerMethod::HTTP_ALL.
7777
#if defined(HTTP_ANY) && !defined(ASYNCWEBSERVER_NO_GLOBAL_HTTP_METHODS)
78-
#warning HTTP_ANY definition collision detected - AsyncWebServer HTTP_ methods will not be defined in the global namespace. Make sure to use AsyncWebServerMethod::HTTP_ALL instead, and define ASYNCWEBSERVER_NO_GLOBAL_HTTP_METHODS to disable this warning.
78+
#warning HTTP_ANY definition collision detected - AsyncWebServer HTTP_ methods will not be defined in the global namespace. Make sure to use AsyncWebRequestMethod::HTTP_ALL instead, and define ASYNCWEBSERVER_NO_GLOBAL_HTTP_METHODS to disable this warning.
7979
#define ASYNCWEBSERVER_NO_GLOBAL_HTTP_METHODS
8080
#endif
8181

0 commit comments

Comments
 (0)