Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4e8c5168 authored by T.J. Mercier's avatar T.J. Mercier
Browse files

Add implicit conversion operator to std::string_view

android::base::Trim has been updated to take a std::string_view instead
of a const std::string&. Remove explicit conversions to std::string for
Trim arguments so that we do not create a unnecessary copies for the T ->
std::string conversion, only to implicitly convert from std::string ->
std::string_view immediately after.

Bug: N/A
Test: Still builds
Change-Id: Ib3db6f652f5a2b84f89cf130e3cf4a7acf9f185b
parent facb434d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment