commit | 8bd4b2bf4be7c84c8d9deca3f980bc9c9018c2e7 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Thu Jun 22 16:50:31 2017 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Thu Jun 22 17:24:22 2017 -0700 |
tree | 9fc09a4a34648a35479a68a717c18edb28e51e26 | |
parent | 113eb3adbdec313d6afa748f119ed250144f717f [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