mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 00:10:22 +00:00
Activate some clang-tidy checks (#1884)
This commit is contained in:
@@ -120,7 +120,7 @@ void ESPRangeView::darken(uint8_t delta) {
|
||||
for (auto c : *this)
|
||||
c.darken(delta);
|
||||
}
|
||||
ESPRangeView &ESPRangeView::operator=(const ESPRangeView &rhs) {
|
||||
ESPRangeView &ESPRangeView::operator=(const ESPRangeView &rhs) { // NOLINT
|
||||
// If size doesn't match, error (todo warning)
|
||||
if (rhs.size() != this->size())
|
||||
return *this;
|
||||
|
||||
Reference in New Issue
Block a user