mirror of
https://github.com/esphome/esphome.git
synced 2025-09-18 03:02:20 +01:00
[api] Use C++17 nested namespace syntax (#9856)
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
|
||||
#include "api_pb2.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace api {
|
||||
namespace esphome::api {
|
||||
|
||||
class APIServerConnectionBase : public ProtoService {
|
||||
public:
|
||||
@@ -444,5 +443,4 @@ class APIServerConnection : public APIServerConnectionBase {
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace api
|
||||
} // namespace esphome
|
||||
} // namespace esphome::api
|
||||
|
Reference in New Issue
Block a user