diff options
Diffstat (limited to 'runtime/interpreter/unstarted_runtime.cc')
-rw-r--r-- | runtime/interpreter/unstarted_runtime.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/unstarted_runtime.cc b/runtime/interpreter/unstarted_runtime.cc index 07ab73f38e..246f81b014 100644 --- a/runtime/interpreter/unstarted_runtime.cc +++ b/runtime/interpreter/unstarted_runtime.cc @@ -139,7 +139,7 @@ static void UnstartedRuntimeFindClass(Thread* self, bool initialize_class) REQUIRES_SHARED(Locks::mutator_lock_) { CHECK(className != nullptr); - std::string descriptor(DotToDescriptor(className->ToModifiedUtf8().c_str())); + std::string descriptor = DotToDescriptor(className->ToModifiedUtf8()); ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); ObjPtr<mirror::Class> found = |