mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
Avoid #includes with a surrounding namespace (#7560)
untangle the namespace/double inclusions in webserver library. This is a followup of the discussion in https://github.com/esp8266/Arduino/pull/6946#discussion_r361582525
This commit is contained in:
@ -34,6 +34,8 @@ static const char qop_auth_quoted[] PROGMEM = "qop=\"auth\"";
|
||||
static const char WWW_Authenticate[] PROGMEM = "WWW-Authenticate";
|
||||
static const char Content_Length[] PROGMEM = "Content-Length";
|
||||
|
||||
namespace esp8266webserver {
|
||||
|
||||
template <typename ServerType>
|
||||
ESP8266WebServerTemplate<ServerType>::ESP8266WebServerTemplate(IPAddress addr, int port)
|
||||
: _server(addr, port)
|
||||
@ -864,3 +866,5 @@ String ESP8266WebServerTemplate<ServerType>::responseCodeToString(const int code
|
||||
}
|
||||
return String(r);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user