summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-01-12 22:26:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-12 22:26:26 +0000
commit8fccea249b1a6f1469eeea42c2b2cca06ce1c70d (patch)
treebffd41529429f9b654ab6824c368191dd5e97719
parent6650de241f63f725830560ec09c5e1f13c0d8488 (diff)
parent3096bc5d80a609c5e1c80ce64eeb6f3299ee4012 (diff)
downloadart-8fccea249b1a6f1469eeea42c2b2cca06ce1c70d.tar.gz
art-8fccea249b1a6f1469eeea42c2b2cca06ce1c70d.tar.bz2
art-8fccea249b1a6f1469eeea42c2b2cca06ce1c70d.zip
Merge "Fix error in JobjectComparator"
-rw-r--r--runtime/jobject_comparator.cc2
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();