[light] Modernize namespace declarations to C++17 syntax (#11986)
This commit is contained in:
1 parent
a72545639d
commit
45c994e4de
27 files changed
+54
-108
No files matched your search
@@ -1,8 +1,7 @@
|
||||
#include "light_effect.h"
|
||||
#include "light_state.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace light {
|
||||
namespace esphome::light {
|
||||
|
||||
uint32_t LightEffect::get_index() const {
|
||||
if (this->state_ == nullptr) {
|
||||
@@ -32,5 +31,4 @@ uint32_t LightEffect::get_index_in_parent_() const {
|
||||
return 0; // Not found
|
||||
}
|
||||
|
||||
} // namespace light
|
||||
} // namespace esphome
|
||||
} // namespace esphome::light
|
||||
Reference in new issue
Block a user