mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 23:03:46 +01:00
[api] Use C++17 nested namespace syntax (#9856)
This commit is contained in:
@@ -12,8 +12,7 @@
|
||||
#include "esphome/core/application.h"
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace api {
|
||||
namespace esphome::api {
|
||||
|
||||
// uncomment to log raw packets
|
||||
//#define HELPER_LOG_PACKETS
|
||||
@@ -184,7 +183,6 @@ class APIFrameHelper {
|
||||
APIError handle_socket_read_result_(ssize_t received);
|
||||
};
|
||||
|
||||
} // namespace api
|
||||
} // namespace esphome
|
||||
} // namespace esphome::api
|
||||
|
||||
#endif // USE_API
|
||||
|
Reference in New Issue
Block a user