Merge "Fix performance-for-range-copy warnings"
am: 6df27abdd0
Change-Id: I22208300562377c27f83e847513de502e69db332
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) {