diff options
author | Tom Cherry <tomcherry@google.com> | 2017-06-22 16:50:31 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2017-06-22 17:24:22 -0700 |
commit | 1c3a53f03ca3c2c647f83cd8b8ae7e18c5c7bc69 (patch) | |
tree | 9fc09a4a34648a35479a68a717c18edb28e51e26 /libunwindstack/tests/MemoryFileTest.cpp | |
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
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions