1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 08:15:49 +00:00

[api] Use C++17 nested namespace syntax (#9856)

This commit is contained in:
J. Nick Koston
2025-07-23 21:15:42 -10:00
committed by GitHub
parent 705ea4ebaa
commit c74f12be98
27 changed files with 62 additions and 124 deletions

View File

@@ -6,8 +6,7 @@
#include "esphome/core/log.h"
#include "esphome/core/util.h"
namespace esphome {
namespace api {
namespace esphome::api {
// Generate entity handler implementations using macros
#ifdef USE_BINARY_SENSOR
@@ -90,6 +89,5 @@ bool ListEntitiesIterator::on_service(UserServiceDescriptor *service) {
}
#endif
} // namespace api
} // namespace esphome
} // namespace esphome::api
#endif