summaryrefslogtreecommitdiff
path: root/runtime/oat/sdc_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/oat/sdc_file.h')
-rw-r--r--runtime/oat/sdc_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/oat/sdc_file.h b/runtime/oat/sdc_file.h
index 73917f5316..e2c9b43ba7 100644
--- a/runtime/oat/sdc_file.h
+++ b/runtime/oat/sdc_file.h
@@ -45,7 +45,7 @@ namespace art HIDDEN {
// Repeated keys are not allowed. This is an extensible format, so versioning is not needed.
class EXPORT SdcReader {
public:
- static std::unique_ptr<SdcReader> Load(const std::string filename, std::string* error_msg);
+ static std::unique_ptr<SdcReader> Load(const std::string& filename, std::string* error_msg);
// The mtime of the SDM file on device, in nanoseconds.
// This is for detecting obsolete SDC files.