mirror of
https://github.com/esphome/esphome.git
synced 2025-11-09 19:08:44 +00:00
[api] Use C++17 nested namespace syntax (#9856)
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
#include <cstring>
|
||||
#include <cinttypes>
|
||||
|
||||
namespace esphome {
|
||||
namespace api {
|
||||
namespace esphome::api {
|
||||
|
||||
static const char *const TAG = "api.frame_helper";
|
||||
|
||||
@@ -247,6 +246,5 @@ APIError APIFrameHelper::handle_socket_read_result_(ssize_t received) {
|
||||
return APIError::OK;
|
||||
}
|
||||
|
||||
} // namespace api
|
||||
} // namespace esphome
|
||||
} // namespace esphome::api
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user