1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Enable readability-const-return-type check (#3099)

This commit is contained in:
Oxan van Leeuwen
2022-01-23 08:28:00 +01:00
committed by GitHub
parent a6a9ebfde2
commit 7854522792
6 changed files with 10 additions and 11 deletions

View File

@@ -115,7 +115,7 @@ class GraphTrace {
void set_line_type(enum LineType val) { this->line_type_ = val; }
Color get_line_color() { return this->line_color_; }
void set_line_color(Color val) { this->line_color_ = val; }
const std::string get_name() { return name_; }
std::string get_name() { return name_; }
const HistoryData *get_tracedata() { return &data_; }
protected: