summaryrefslogtreecommitdiff
path: root/runtime/class_table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/class_table.cc')
-rw-r--r--runtime/class_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_table.cc b/runtime/class_table.cc
index 35d3537478..5a20c2f576 100644
--- a/runtime/class_table.cc
+++ b/runtime/class_table.cc
@@ -104,7 +104,7 @@ size_t ClassTable::NumReferencedNonZygoteClasses() const {
return classes_.back().size();
}
-ObjPtr<mirror::Class> ClassTable::Lookup(const char* descriptor, size_t hash) {
+ObjPtr<mirror::Class> ClassTable::Lookup(std::string_view descriptor, size_t hash) {
DescriptorHashPair pair(descriptor, hash);
ReaderMutexLock mu(Thread::Current(), lock_);
// Search from the last table, assuming that apps shall search for their own classes