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

Commit 88ca4b12 authored by Atneya Nair's avatar Atneya Nair
Browse files

Fix ambiguous String8 conversion

The MtpString type has implicit conversions to const char* as well as
std::string_view.

Explicitly convert to std::string_view when passing to String8 to
resolve overload ambiguity in the direction of the preferable call.

Test: compiles
Flag: EXEMPT infeasible
Bug:
Change-Id: Iea50eef3fcba628173fcec784401e8c0b867b90d
parent 821abb8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment