commit | f16f160029784bbb61b7c7d8a22cd5b76c9b9d03 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Tue Mar 26 12:04:05 2019 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Tue Mar 26 12:04:05 2019 -0700 |
tree | a4d1dd4cff9f02205d43bc7c86fd7e4527284b71 | |
parent | 1133dbbb57ec0c9bd8622f7868d46022f40a4dd3 [diff] |
fastboot: Avoid extra std::string copies The function do_for_partitions() takes a const std::string reference, so it's inefficient to pass a std::string::c_str(). Test: TreeHugger Change-Id: Ia84ed9ec691ee2f524c61dd25a81b2995bb0bb33