diff options
| -rw-r--r-- | runtime/jobject_comparator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jobject_comparator.cc b/runtime/jobject_comparator.cc index e22d75f941..77f93ffa70 100644 --- a/runtime/jobject_comparator.cc +++ b/runtime/jobject_comparator.cc @@ -40,7 +40,7 @@ bool JobjectComparator::operator()(jobject jobj1, jobject jobj2) const { } // Sort by class... if (obj1->GetClass() != obj2->GetClass()) { - return obj1->GetClass()->IdentityHashCode() < obj2->IdentityHashCode(); + return obj1->GetClass()->IdentityHashCode() < obj2->GetClass()->IdentityHashCode(); } else { // ...then by size... size_t count1 = obj1->SizeOf(); |