Merge "Fix unnecessary copy initialization warnings"

am: f110ea4893

Change-Id: If17584a8ed6fc53f3681a6ac298730dfbbaf4623
This commit is contained in:
Chih-Hung Hsieh 2018-07-13 15:59:07 -07:00 committed by android-build-merger
commit 820868b72e

View file

@ -258,7 +258,7 @@ status_t VendorTagDescriptor::createDescriptorFromOps(const vendor_tag_ops_t* vO
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);