[text_sensor] Use C++17 nested namespace syntax (#14243)
This commit is contained in:
1 parent
63c1496115
commit
500aa7bf1d
5 files changed
+10
-20
No files matched your search
@@ -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