mirror of
https://github.com/esphome/esphome.git
synced 2026-02-19 07:55:35 -07:00
Convert buildinfo to C++17 nested namespace syntax
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user