[template] Use C++17 nested namespace syntax (#12346)
This commit is contained in:
1 parent
f015130f2e
commit
3d5d89ff00
35 files changed
+70
-140
No files matched your search
@@ -4,8 +4,7 @@
|
||||
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace template_ {
|
||||
namespace esphome::template_ {
|
||||
|
||||
static const char *const TAG = "template.datetime";
|
||||
|
||||
@@ -143,7 +142,6 @@ void TemplateDateTime::dump_config() {
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
}
|
||||
|
||||
} // namespace template_
|
||||
} // namespace esphome
|
||||
} // namespace esphome::template_
|
||||
|
||||
#endif // USE_DATETIME_DATETIME
|
||||
Reference in new issue
Block a user