From 2b4eb676348f122ab0a21e19d7a3c57bd9898c6c Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 12 Jun 2024 09:30:37 +0000 Subject: Use C++20 `string{,_view}::{starts,ends}_with()`, part 2. Replace uses of `android::base::{Starts,Ends}With()`. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I80a0ca93f433464270989d248dd999e9366a1c17 --- runtime/oat/oat_file_assistant.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/oat/oat_file_assistant.cc') diff --git a/runtime/oat/oat_file_assistant.cc b/runtime/oat/oat_file_assistant.cc index 8fcf1c8f57..782b7b3316 100644 --- a/runtime/oat/oat_file_assistant.cc +++ b/runtime/oat/oat_file_assistant.cc @@ -701,7 +701,7 @@ bool OatFileAssistant::DexLocationToOatFilename(const std::string& location, // TODO: The oat file assistant should be the definitive place for // determining the oat file name from the dex location, not // GetDalvikCacheFilename. - return GetDalvikCacheFilename(location.c_str(), dalvik_cache.c_str(), oat_filename, error_msg); + return GetDalvikCacheFilename(location, dalvik_cache, oat_filename, error_msg); } bool OatFileAssistant::GetRequiredDexChecksum(std::optional* checksum, -- cgit v1.2.3-59-g8ed1b