mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 02:28:28 +02:00
Enable readability-const-return-type check (#3099)
This commit is contained in:
@@ -38,7 +38,7 @@ class SelectCall {
|
||||
class SelectTraits {
|
||||
public:
|
||||
void set_options(std::vector<std::string> options) { this->options_ = std::move(options); }
|
||||
const std::vector<std::string> get_options() const { return this->options_; }
|
||||
std::vector<std::string> get_options() const { return this->options_; }
|
||||
|
||||
protected:
|
||||
std::vector<std::string> options_;
|
||||
|
||||
Reference in New Issue
Block a user