[select] Modernize namespace declarations to C++17 syntax (#12007)

This commit is contained in:
J. Nick Koston
2025-11-20 08:57:04 -05:00
committed by GitHub
parent b346666a52
commit 4825da8e9c
7 changed files with 14 additions and 28 deletions
+2 -4
View File
@@ -4,8 +4,7 @@
#include "esphome/core/log.h"
#include <cstring>
namespace esphome {
namespace select {
namespace esphome::select {
static const char *const TAG = "select";
@@ -86,5 +85,4 @@ optional<std::string> Select::at(size_t index) const {
const char *Select::option_at(size_t index) const { return traits.get_options().at(index); }
} // namespace select
} // namespace esphome
} // namespace esphome::select