Activate some clang-tidy checks (#1884)
This commit is contained in:
1 parent
eb9bd69405
commit
360effcb72
109 files changed
+458
-422
No files matched your search
@@ -44,7 +44,7 @@ void Controller::setup_controller() {
|
||||
#ifdef USE_TEXT_SENSOR
|
||||
for (auto *obj : App.get_text_sensors()) {
|
||||
if (!obj->is_internal())
|
||||
obj->add_on_state_callback([this, obj](std::string state) { this->on_text_sensor_update(obj, state); });
|
||||
obj->add_on_state_callback([this, obj](const std::string &state) { this->on_text_sensor_update(obj, state); });
|
||||
}
|
||||
#endif
|
||||
#ifdef USE_CLIMATE
|
||||
|
||||
Reference in new issue
Block a user