[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
@@ -2,8 +2,7 @@
|
||||
#include "esphome/core/log.h"
|
||||
#include <cmath>
|
||||
|
||||
namespace esphome {
|
||||
namespace template_ {
|
||||
namespace esphome::template_ {
|
||||
|
||||
static const char *const TAG = "template.sensor";
|
||||
|
||||
@@ -24,5 +23,4 @@ void TemplateSensor::dump_config() {
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
}
|
||||
|
||||
} // namespace template_
|
||||
} // namespace esphome
|
||||
} // namespace esphome::template_
|
||||
Reference in new issue
Block a user