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