commit | 4a96670e41eae1ace849da26fb79a30d16526f0f | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Tue Jan 21 06:41:29 2020 -0800 |
committer | Greg Kaiser <gkaiser@google.com> | Tue Jan 21 06:43:35 2020 -0800 |
tree | fe7423b3735d9f1b539daa6238ed006ca88160cf | |
parent | aa85de1781fa5f33dcdc638bce951b14f2a3c3fd [diff] |
internal_os_Zygote: Avoid string copy Since PrepareDir() takes a const std::string&, we just want to directly pass our std::string, instead of passing the result of c_str(), which would require constructing a new std::string. Test: TreeHugger Change-Id: Ifecd7ce61f5cd744c1562600cfe9f69353e6d80e