mirror of
https://github.com/esphome/esphome.git
synced 2026-09-26 06:20:21 +00:00
[select] Modernize namespace declarations to C++17 syntax (#12007)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user