diff options
author | 2023-11-09 16:03:45 +0000 | |
---|---|---|
committer | 2023-11-09 18:18:13 +0000 | |
commit | 18d2c1f61aac37d1e4f73a1acc1ba1d2b746cdef (patch) | |
tree | b0115281a1a3c9edbbbd5748259c3bd11cbc6065 /runtime/class_loader_context.cc | |
parent | 47d81c4136e125f4ac45f21d51d95c3cf2cc3890 (diff) |
Change IsMultiDexLocation to std::string_view
Test: ./art/test.py -b --host --optimizing --64
Change-Id: I70ffa88d30f3b43cc36161ed81a2722bbf4c3bb7
Diffstat (limited to 'runtime/class_loader_context.cc')
-rw-r--r-- | runtime/class_loader_context.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_loader_context.cc b/runtime/class_loader_context.cc index 3bb7e426a1..afdbb4a38a 100644 --- a/runtime/class_loader_context.cc +++ b/runtime/class_loader_context.cc @@ -699,7 +699,7 @@ void ClassLoaderContext::EncodeContextInternal(const ClassLoaderInfo& info, for (size_t k = 0; k < info.opened_dex_files.size();) { const std::unique_ptr<const DexFile>& dex_file = info.opened_dex_files[k]; uint32_t checksum = DexFileLoader::GetMultiDexChecksum(info.opened_dex_files, &k); - CHECK(!DexFileLoader::IsMultiDexLocation(dex_file->GetLocation().c_str())); + CHECK(!DexFileLoader::IsMultiDexLocation(dex_file->GetLocation())); if (for_dex2oat) { // De-duplicate locations. |