[api] Use C++17 nested namespace syntax (#9856)
This commit is contained in:
1 parent
705ea4ebaa
commit
c74f12be98
27 files changed
+62
-124
No files matched your search
@@ -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