Activate some clang-tidy checks (#1884)

This commit is contained in:
Otto Winter authored and GitHub committed 2021-06-10 13:04:40 +02:00
1 parent eb9bd69405
commit 360effcb72
109 files changed
+458 -422

No files matched your search

+1 -1
View File
@@ -180,7 +180,7 @@ void APIServer::on_switch_update(switch_::Switch *obj, bool state) {
#endif
#ifdef USE_TEXT_SENSOR
void APIServer::on_text_sensor_update(text_sensor::TextSensor *obj, std::string state) {
void APIServer::on_text_sensor_update(text_sensor::TextSensor *obj, const std::string &state) {
if (obj->is_internal())
return;
for (auto *c : this->clients_)