[version] Use C++17 nested namespace syntax (#14240)
This commit is contained in:
1 parent
ebf1047da7
commit
30cc51eac9
2 files changed
+4
-8
No files matched your search
@@ -6,8 +6,7 @@
|
||||
#include "esphome/core/helpers.h"
|
||||
#include "esphome/core/progmem.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace version {
|
||||
namespace esphome::version {
|
||||
|
||||
static const char *const TAG = "version.text_sensor";
|
||||
|
||||
@@ -36,5 +35,4 @@ void VersionTextSensor::setup() {
|
||||
void VersionTextSensor::set_hide_timestamp(bool hide_timestamp) { this->hide_timestamp_ = hide_timestamp; }
|
||||
void VersionTextSensor::dump_config() { LOG_TEXT_SENSOR("", "Version Text Sensor", this); }
|
||||
|
||||
} // namespace version
|
||||
} // namespace esphome
|
||||
} // namespace esphome::version
|
||||
Reference in new issue
Block a user