summaryrefslogtreecommitdiffstats
path: root/runtime/mirror/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mirror/string.h')
-rw-r--r--runtime/mirror/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/string.h b/runtime/mirror/string.h
index 6c3015f4d0..169b671574 100644
--- a/runtime/mirror/string.h
+++ b/runtime/mirror/string.h
@@ -137,7 +137,7 @@ class MANAGED String : public Object {
static String* Alloc(Thread* self, int32_t utf16_length)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
- static String* Alloc(Thread* self, Handle<CharArray> array)
+ static String* Alloc(Thread* self, const Handle<CharArray>& array)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
void SetArray(CharArray* new_array) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);