From 4c69925b84e92a93755f31bed260a70cd3286f25 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 29 Jun 2025 08:13:28 -0500 Subject: [PATCH] lint --- esphome/components/api/api_server.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/api/api_server.h b/esphome/components/api/api_server.h index 729bdb1df8..6e15b74389 100644 --- a/esphome/components/api/api_server.h +++ b/esphome/components/api/api_server.h @@ -149,8 +149,8 @@ class APIServer : public Component, public Controller { #ifdef USE_API_YAML_SERVICES return this->user_services_; #else - static const std::vector empty; - return this->user_services_ ? *this->user_services_ : empty; + static const std::vector EMPTY; + return this->user_services_ ? *this->user_services_ : EMPTY; #endif }