commit | 823144f333f8976eb98f28d8b802d1a82e6442fb | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Jul 19 11:08:04 2021 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Jul 19 11:09:16 2021 -0700 |
tree | 94fe442b3bea26c064830dec3db893810b5d8866 | |
parent | b32c33ed143ecb2379ad115a3d9869948b2fabd3 [diff] |
Fix error for compiler update. frameworks/native/services/inputflinger/reader/mapper/SensorInputMapper.cpp :306:23: error: declaration shadows a local variable [-Werror,-Wshadow] for (const auto& [sensorType, sensor] : mSensors) { ^ Bug: 193903230 Test: build with the next compiler Change-Id: I8087db738cfbef82e8264bbbc22515361bd11bf1