commit | 60b48c66b694bf4604125157fa44808a76a66483 | [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 19:53:07 2021 +0000 |
tree | a52209203bdaae33f37b16cf87a0c5dc14809edd | |
parent | be5e3975f6ffd114ff9e7ffb3fe7cacff5ff9365 [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 (cherry picked from commit 823144f333f8976eb98f28d8b802d1a82e6442fb)