summaryrefslogtreecommitdiff
path: root/runtime/oat/oat_file_assistant.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/oat/oat_file_assistant.cc')
-rw-r--r--runtime/oat/oat_file_assistant.cc2
1 files changed, 1 insertions, 1 deletions
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<uint32_t>* checksum,