diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-01-12 22:26:25 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-01-12 22:26:26 +0000 |
commit | 8fccea249b1a6f1469eeea42c2b2cca06ce1c70d (patch) | |
tree | bffd41529429f9b654ab6824c368191dd5e97719 | |
parent | 6650de241f63f725830560ec09c5e1f13c0d8488 (diff) | |
parent | 3096bc5d80a609c5e1c80ce64eeb6f3299ee4012 (diff) | |
download | art-8fccea249b1a6f1469eeea42c2b2cca06ce1c70d.tar.gz art-8fccea249b1a6f1469eeea42c2b2cca06ce1c70d.tar.bz2 art-8fccea249b1a6f1469eeea42c2b2cca06ce1c70d.zip |
Merge "Fix error in JobjectComparator"
-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(); |