mirror of
https://github.com/esphome/esphome.git
synced 2025-09-16 02:02:21 +01:00
[api] Use C++17 nested namespace syntax (#9856)
This commit is contained in:
@@ -13,8 +13,7 @@
|
||||
#include <vector>
|
||||
#include <functional>
|
||||
|
||||
namespace esphome {
|
||||
namespace api {
|
||||
namespace esphome::api {
|
||||
|
||||
// Client information structure
|
||||
struct ClientInfo {
|
||||
@@ -723,6 +722,5 @@ class APIConnection : public APIServerConnection {
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace api
|
||||
} // namespace esphome
|
||||
} // namespace esphome::api
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user