mirror of
https://github.com/esphome/esphome.git
synced 2025-08-09 11:57:46 +00:00
lint
This commit is contained in:
parent
42aea701d3
commit
4c69925b84
@ -149,8 +149,8 @@ class APIServer : public Component, public Controller {
|
||||
#ifdef USE_API_YAML_SERVICES
|
||||
return this->user_services_;
|
||||
#else
|
||||
static const std::vector<UserServiceDescriptor *> empty;
|
||||
return this->user_services_ ? *this->user_services_ : empty;
|
||||
static const std::vector<UserServiceDescriptor *> EMPTY;
|
||||
return this->user_services_ ? *this->user_services_ : EMPTY;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user