diff options
| author | 2019-03-26 08:55:32 -0700 | |
|---|---|---|
| committer | 2019-03-26 09:28:23 -0700 | |
| commit | 6d758fc418b5cde2229980cf84cfa0ac772777f9 (patch) | |
| tree | a5ab1ac83239c2f4a124cf92dd5b2e30f02629b6 /libs/gui/ConsumerBase.cpp | |
| parent | 8042c37f15940479d9d89a97646555a01161a334 (diff) | |
installd: Avoid extra std::string copy
The method is_valid_package_name() takes a const std::string
reference, so it's inefficient to pass a std::string::c_str().
Test: TreeHugger
Change-Id: Ic8b33ce8b6c664f960b5c84f688821e9f7eddf03
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions