Convert buildinfo to C++17 nested namespace syntax

This commit is contained in:
David Woodhouse
2025-12-13 11:23:45 +09:00
parent d7451257a5
commit da96ffb923

View File

@@ -50,8 +50,7 @@ extern const char LINKERSYM(BUILD_TIME_STR, 4)[];
extern const char LINKERSYM(BUILD_TIME_STR, 5)[];
}
namespace esphome {
namespace buildinfo {
namespace esphome::buildinfo {
// An 8-byte string plus terminating NUL.
struct ConfigHashStruct {
@@ -80,5 +79,4 @@ extern const uintptr_t BUILD_TIME_STR[] = {
extern const uintptr_t BUILD_TIME = (uintptr_t) &ESPHOME_BUILD_TIME;
} // namespace buildinfo
} // namespace esphome
} // namespace esphome::buildinfo