diff options
Diffstat (limited to 'runtime/mirror/string.cc')
-rw-r--r-- | runtime/mirror/string.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/string.cc b/runtime/mirror/string.cc index ee719b477b..1d79106a44 100644 --- a/runtime/mirror/string.cc +++ b/runtime/mirror/string.cc @@ -131,7 +131,7 @@ String* String::Alloc(Thread* self, int32_t utf16_length) { return Alloc(self, array); } -String* String::Alloc(Thread* self, const Handle<CharArray>& array) { +String* String::Alloc(Thread* self, Handle<CharArray> array) { // Hold reference in case AllocObject causes GC. String* string = down_cast<String*>(GetJavaLangString()->AllocObject(self)); if (LIKELY(string != nullptr)) { |