commit | 820868b72eb45c0778f7ff48ffaf2d64c2973b89 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Jul 13 15:59:07 2018 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Fri Jul 13 15:59:07 2018 -0700 |
tree | 30087fd89cc357c9e9f1a32af42d15c99f5e45b6 | |
parent | bb18da12bc2d33371d1618d2216cf9e375810a25 [diff] | |
parent | f110ea4893f9d4adc6f62495b284bcb24f34046a [diff] |
Merge "Fix unnecessary copy initialization warnings" am: f110ea4893 Change-Id: If17584a8ed6fc53f3681a6ac298730dfbbaf4623
diff --git a/camera/common/1.0/default/VendorTagDescriptor.cpp b/camera/common/1.0/default/VendorTagDescriptor.cpp index 1f53857..052bf5b 100644 --- a/camera/common/1.0/default/VendorTagDescriptor.cpp +++ b/camera/common/1.0/default/VendorTagDescriptor.cpp
@@ -258,7 +258,7 @@ for (size_t i = 0; i < static_cast<size_t>(tagCount); ++i) { uint32_t tag = tagArray[i]; - String8 sectionString = tagToSectionMap.valueFor(tag); + const String8& sectionString = tagToSectionMap.valueFor(tag); // Set up tag to section index map ssize_t index = sections.indexOf(sectionString);