summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Atneya Nair <atneya@google.com> 2025-01-22 21:47:31 -0800
committer Atneya Nair <atneya@google.com> 2025-01-22 21:49:20 -0800
commit88ca4b125ef6cebd0513b1ee9d94a227187785ee (patch)
tree35eefa9264f44ab65313c00df1f50cc6746de18d /libs/androidfw/AssetsProvider.cpp
parent821abb8afdec0f69ceb31fbf7f44cc01a0c46dfb (diff)
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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions