mirror of
https://github.com/esphome/esphome.git
synced 2025-09-12 16:22:22 +01:00
make bot happy
This commit is contained in:
@@ -39,8 +39,10 @@ static const char *const TAG = "web_server_idf";
|
|||||||
|
|
||||||
// Global instance to avoid guard variable (saves 8 bytes)
|
// Global instance to avoid guard variable (saves 8 bytes)
|
||||||
// This is initialized at program startup before any threads
|
// This is initialized at program startup before any threads
|
||||||
|
namespace {
|
||||||
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
||||||
static DefaultHeaders default_headers_instance;
|
DefaultHeaders default_headers_instance;
|
||||||
|
} // namespace
|
||||||
|
|
||||||
DefaultHeaders &DefaultHeaders::Instance() { return default_headers_instance; }
|
DefaultHeaders &DefaultHeaders::Instance() { return default_headers_instance; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user