1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 15:12:06 +00:00

Merge branch 'integration' into memory_api

This commit is contained in:
J. Nick Koston
2025-10-25 00:25:55 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
namespace esphome {
namespace select {
void SelectTraits::set_options(std::initializer_list<const char *> options) { this->options_ = options; }
void SelectTraits::set_options(const std::initializer_list<const char *> &options) { this->options_ = options; }
void SelectTraits::set_options(const FixedVector<const char *> &options) {
this->options_.init(options.size());

View File

@@ -8,7 +8,7 @@ namespace select {
class SelectTraits {
public:
void set_options(std::initializer_list<const char *> options);
void set_options(const std::initializer_list<const char *> &options);
void set_options(const FixedVector<const char *> &options);
const FixedVector<const char *> &get_options() const;