mirror of
https://github.com/esphome/esphome.git
synced 2025-09-09 23:02:23 +01:00
[api] Use C++17 nested namespace syntax (#9856)
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
|
||||
#ifdef HAS_PROTO_MESSAGE_DUMP
|
||||
|
||||
namespace esphome {
|
||||
namespace api {
|
||||
namespace esphome::api {
|
||||
|
||||
// Helper function to append a quoted string, handling empty StringRef
|
||||
static inline void append_quoted_string(std::string &out, const StringRef &ref) {
|
||||
@@ -2067,7 +2066,6 @@ void UpdateCommandRequest::dump_to(std::string &out) const {
|
||||
}
|
||||
#endif
|
||||
|
||||
} // namespace api
|
||||
} // namespace esphome
|
||||
} // namespace esphome::api
|
||||
|
||||
#endif // HAS_PROTO_MESSAGE_DUMP
|
||||
|
Reference in New Issue
Block a user