summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-12-18 04:01:32 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-12-18 04:01:32 +0000
commit9f494880174192a7f72d8fe8bc4991a9251694cb (patch)
tree95c31347c2fca1c6345bce1e444514f72bac03dc
parent69f16d9a6b8101034b87ebdf43de160f6eb9a947 (diff)
parentaa8fd443df36bebe9982fdcaee86360680dfc1dd (diff)
downloadsecure_element-9f494880174192a7f72d8fe8bc4991a9251694cb.tar.gz
Snap for 5187456 from aa8fd443df36bebe9982fdcaee86360680dfc1dd to qt-release
Change-Id: I665bf16464dd1f8f291e46be9107f96ce15fc0de
-rw-r--r--[-rwxr-xr-x]libese-spi/p73/utils/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libese-spi/p73/utils/config.cpp b/libese-spi/p73/utils/config.cpp
index 69b536e..c304226 100755..100644
--- a/libese-spi/p73/utils/config.cpp
+++ b/libese-spi/p73/utils/config.cpp
@@ -28,7 +28,7 @@ namespace {
bool parseBytesString(std::string in, std::vector<uint8_t>& out) {
vector<string> values = Split(in, ":");
if (values.size() == 0) return false;
- for (string value : values) {
+ for (const string& value : values) {
if (value.length() != 2) return false;
uint8_t tmp = 0;
string hexified = "0x";