[light] Modernize namespace declarations to C++17 syntax (#11986)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-11-18 21:56:23 -06:00
1 parent a72545639d
commit 45c994e4de
27 files changed
+54 -108

No files matched your search

+2 -4
View File
@@ -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