mirror of
https://github.com/esphome/esphome.git
synced 2026-09-24 05:24:14 +00:00
[text_sensor] Use C++17 nested namespace syntax (#14243)
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
#include "esphome/core/log.h"
|
||||
#include <cstring>
|
||||
|
||||
namespace esphome {
|
||||
namespace text_sensor {
|
||||
namespace esphome::text_sensor {
|
||||
|
||||
static const char *const TAG = "text_sensor";
|
||||
|
||||
@@ -125,5 +124,4 @@ void TextSensor::notify_frontend_() {
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace text_sensor
|
||||
} // namespace esphome
|
||||
} // namespace esphome::text_sensor
|
||||
|
||||
Reference in New Issue
Block a user