Merge "Fix performance-for-range-copy warnings" am: 6df27abdd0 am: 1acbe4ef90
am: 6986f176da
Change-Id: Id76466c334fd79a233d4b8af0b250354d7708503
diff --git a/keystore/keymaster_worker.cpp b/keystore/keymaster_worker.cpp
index c7d2671..fd07e86 100644
--- a/keystore/keymaster_worker.cpp
+++ b/keystore/keymaster_worker.cpp
@@ -346,7 +346,7 @@
{
hidl_vec<uint8_t> clientId;
hidl_vec<uint8_t> appData;
- for (auto param : opParams) {
+ for (const auto& param : opParams) {
if (param.tag == Tag::APPLICATION_ID) {
clientId = authorizationValue(TAG_APPLICATION_ID, param).value();
} else if (param.tag == Tag::APPLICATION_DATA) {