Apply clang-tidy fixes

This commit is contained in:
Michael Davidson 2024-01-03 17:01:02 +11:00
parent a6f77271a4
commit a083240e12
No known key found for this signature in database
GPG key ID: B8D1A99712B8B0EB

View file

@ -31,7 +31,7 @@ void TextPanel::dump_config(int indent_depth, int additional_level_depth) {
void TextPanel::setup_complete() {
if (!this->text_formatter_.has_value()) {
this->text_formatter_ = [this](const std::string string) { return string; };
this->text_formatter_ = [](const std::string& string) { return string; };
}
if (this->sensor_ != nullptr) {