[clang-tidy] Enable readability-container-contains (#16438)

This commit is contained in:
Jonathan Swoboda authored and GitHub committed 2026-05-14 18:38:09 -04:00
1 parent 7436d1c199
commit a8e69a15e4
7 files changed
+8 -9

No files matched your search

@@ -78,7 +78,7 @@ void Touchscreen::add_raw_touch_position_(uint8_t id, int16_t x_raw, int16_t y_r
if (this->swap_x_y_) {
std::swap(x_raw, y_raw);
}
if (this->touches_.count(id) == 0) {
if (!this->touches_.contains(id)) {
tp.state = STATE_PRESSED;
tp.id = id;
} else {