commit | 1c3a53f03ca3c2c647f83cd8b8ae7e18c5c7bc69 | [log] [tgz] |
---|---|---|
author | Tom Cherry <[email protected]> | Thu Jun 22 16:50:31 2017 -0700 |
committer | Tom Cherry <[email protected]> | Thu Jun 22 17:24:22 2017 -0700 |
tree | 9fc09a4a34648a35479a68a717c18edb28e51e26 | |
parent | 07a57f0f283938c5e558d79c62d4c2d4c24d3d03 [diff] |
init: cleanup some string usage 1) property_set() takes const std::string& for both of its arguments, so stop using .c_str() with its parameters 2) Simplify a few places where StringPrintf() is used to concatenate strings 3) Use std::to_string() instead of StringPrintf() where it's better suited Test: Boot bullhead Test: init unit tests Change-Id: I68ebda0e469f6230c8f9ad3c8d5f9444e0c4fdfd