[switch] Use C++17 nested namespace syntax (#14241)
This commit is contained in:
1 parent
30cc51eac9
commit
843d06df3f
6 files changed
+16
-28
No files matched your search
@@ -3,8 +3,7 @@
|
||||
#include "esphome/core/controller_registry.h"
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace switch_ {
|
||||
namespace esphome::switch_ {
|
||||
|
||||
static const char *const TAG = "switch";
|
||||
|
||||
@@ -107,5 +106,4 @@ void log_switch(const char *tag, const char *prefix, const char *type, Switch *o
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace switch_
|
||||
} // namespace esphome
|
||||
} // namespace esphome::switch_
|
||||
Reference in new issue
Block a user