mirror of
https://github.com/esphome/esphome.git
synced 2025-09-26 23:22:21 +01:00
[api] Use C++17 nested namespace syntax (#9856)
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace esphome {
|
||||
namespace api {
|
||||
namespace esphome::api {
|
||||
|
||||
static const char *const TAG = "api";
|
||||
|
||||
@@ -483,6 +482,5 @@ bool APIServer::teardown() {
|
||||
return this->clients_.empty();
|
||||
}
|
||||
|
||||
} // namespace api
|
||||
} // namespace esphome
|
||||
} // namespace esphome::api
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user