summaryrefslogtreecommitdiff
path: root/runtime/openjdkjvmti/transform.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/openjdkjvmti/transform.h')
-rw-r--r--runtime/openjdkjvmti/transform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/openjdkjvmti/transform.h b/runtime/openjdkjvmti/transform.h
index 85bcb00eca..a76ed939b5 100644
--- a/runtime/openjdkjvmti/transform.h
+++ b/runtime/openjdkjvmti/transform.h
@@ -54,7 +54,7 @@ jvmtiError GetTransformationData(ArtJvmTiEnv* env,
// Install the new dex file.
jvmtiError MoveTransformedFileIntoRuntime(jclass jklass,
- std::string original_location,
+ const std::string& original_location,
jint data_len,
unsigned char* dex_data);