summaryrefslogtreecommitdiff
path: root/libartbase/base/file_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libartbase/base/file_utils.h')
-rw-r--r--libartbase/base/file_utils.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libartbase/base/file_utils.h b/libartbase/base/file_utils.h
index 8222a8a1d4..205cc6115d 100644
--- a/libartbase/base/file_utils.h
+++ b/libartbase/base/file_utils.h
@@ -127,8 +127,10 @@ void GetDalvikCache(const char* subdir, bool create_if_absent, std::string* dalv
// Returns the absolute dalvik-cache path for a DexFile or OatFile. The path returned will be
// rooted at `cache_location`.
-bool GetDalvikCacheFilename(const char* location, const char* cache_location,
- std::string* filename, std::string* error_msg);
+bool GetDalvikCacheFilename(std::string_view location,
+ std::string_view cache_location,
+ std::string* filename,
+ std::string* error_msg);
// Returns the absolute dalvik-cache path. The path may include the instruction set sub-directory
// if specified.