Merge "Fix unnecessary copy initialization warnings"
am: f110ea4893
Change-Id: If17584a8ed6fc53f3681a6ac298730dfbbaf4623
This commit is contained in:
commit
820868b72e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue